Advertisement
oshkoshbagoshh

highlightcellswithcomments

Aug 18th, 2017
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. '*******************************************************************************
  2. '  Highlight All Cells with Comments
  3. ' --NOTE: can change color
  4. '                           ~ AJ Javadi ~
  5. '*******************************************************************************
  6. Option Explicit
  7.  
  8. Sub HighlightCellsWithComments()
  9.  
  10. ActiveSheet.Cells.SpecialCells(xlCellTypeComments).Interior.Color = vbYellow
  11.  
  12. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement