Mega Code Archive

 
Categories / VisualBasic Script / Excel
 

Toggle Comments

Sub ToggleComments()     If Application.DisplayCommentIndicator = xlCommentAndIndicator Then         Application.DisplayCommentIndicator = xlCommentIndicatorOnly     Else         Application.DisplayCommentIndicator = xlCommentAndIndicator     End If End Sub