This code inserts a comment with a specific text in the active cell.
VBA Code:
Sub InsertComment()
ActiveCell.AddComment Text:="This is a comment"
End Sub
This code inserts a comment with a specific text in the active cell.
VBA Code:
Sub InsertComment()
ActiveCell.AddComment Text:="This is a comment"
End Sub