extract text from a comment

  • Thread starter Thread starter SUNIL PATEL
  • Start date Start date
S

SUNIL PATEL

How does one extract the text from a comment in cell a1
to comment$ in VBA

Thanks
Sunil
 
Sunil,

Dim myComment As String
myComment = Range("A1").Comment.Text
MsgBox myComment

HTH,
Bernie
MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top