• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

UDF to Extract Comment from a Cell

If you want to extract the comment from a cell. Try this UDF-

[pre]
Code:
Function extract_comment(cmt_rng As Range) As String
If Not cmt_rng.Comment Is Nothing Then
extract_comment = cmt_rng.Comment.Text
Else
extract_comment = "No Comment Found"
End If
End Function
[/pre]
 
Back
Top