Forum Discussion
Jan Auzins
Apr 05, 2019Copper Contributor
Excel Cell Comments/Notes in VBA
I am trying to retrieve Note/Comment Cell text using VBA. I have no problem getting the text for a cell note but I have not found a way to get the text for a cell comment. Example code. str = Works...
DataVision
Sep 30, 2019Copper Contributor
Hi!
Add "Threaded" to "Comment"
old:
str = Worksheets(1).Range("A1").Comment.Text
new:
str = Worksheets(1).Range("A1").CommentThreaded.Text
Hope this helps
DataVision
Jan Auzins
Oct 01, 2019Copper Contributor
DataVision That's great, thank you.