HasComment ?!?
Sub Macro1()
Dim c As Comment
For Each c In ActiveSheet.Comments
If c.Parent.Address = Range("A1").Address Then
c.Delete
End If
Next
End Sub
"Tom" wrote in message
...
Hi
I'd like to check, if the cell A1 contains a comment. If yes, the comment
should be deleted. But the problem is, that the HasComment-property is not
available. How to do?
Tom
|