Text in Comments

  • Thread starter Thread starter Simon
  • Start date Start date
S

Simon

I apologise if this is a commonly asked question but work
pressures are such that I can't spend ages looking through
the forums for the answer.

Is there a way to get the text from an inserted comment
and put the text into a cell?, other than opening the
comment and copying and pasting the information into a
cell.

Thanks.
 
Hi
this would require VBA (a user defined function). e.g. try
the following:

Public Function get_comment(rng As Range)
Application.Volatile
get_comment = rng.Comment.Text
End Function

Try
=GET_COMMENT(A1)
in your worksheet. Note: returns an error if no comment
exists
 
thanks a alot, very helpful indeed.

-----Original Message-----
Hi
this would require VBA (a user defined function). e.g. try
the following:

Public Function get_comment(rng As Range)
Application.Volatile
get_comment = rng.Comment.Text
End Function

Try
=GET_COMMENT(A1)
in your worksheet. Note: returns an error if no comment
exists


.
 

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