I saw a vba module that detects cell's comments and it works however I'm looking for a custom function that i can use to conditionally format a cell based on the comment's content.
For example: if comment is "Swap" then it colors the cell green
i found this, but can't get it to work
Any idea? Thanks!Function Test(rng As Range) As Boolean
If rng.Comment.Text = "Test" Then
Test = True
Else
Test = False
End If
End Function
-J
Bookmarks