B,
Use the error to your advantage:
Sub Test()
Dim myT As String
On Error Resume Next
myT = "No Comment!"
myT = ActiveCell.Comment.Text
MsgBox IIf(myT = "", "Comment is blank", myT)
End Sub
> Hi All,
>
[quoted text clipped - 6 lines]
>
> Thanks
B - 24 May 2008 17:03 GMT
On May 25, 1:40 am, "Bernie Deitrick" <deitbe @ consumer dot org>
wrote:
> B,
>
[quoted text clipped - 20 lines]
>
> > Thanks
Thanks