Answers for "excel vba show hide comments"

VBA
4

excel vba show hide comments

' Adds a comment, masks / shows all comments
Sub TestMe()
    With Worksheets(1).Range("e5").AddComment
        .Visible = False
        .Text "reviewed on " & Date '
    End With
  ' Hides all comments
    Application.DisplayCommentIndicator = xlCommentIndicatorOnly
  ' Shows all comments
    Application.DisplayCommentIndicator = xlCommentAndIndicator
End Sub
Posted by: Guest on January-23-2021

Code answers related to "VBA"

Browse Popular Code Answers by Language