Jaafar Tribak
Well-known Member
- Joined
- Dec 5, 2002
- Messages
- 9,797
- Office Version
- 2016
- Platform
- Windows
You can easily to retrieve the comment in a cell but I am looking for the reverse
Any thoughts ?
Code:
Sub Example()
Dim oComment As Comment
Set oComment = ActiveSheet.Comments(1)
MsgBox Not (oComment Is Nothing) ' <== TRUE proves oComment variable holds a pointer to the comment object.
MsgBox "Here I want to return the address of the cell that has the comment stored in the oComment Var."
End Sub
Any thoughts ?