Thread: Comment or not
View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Alan Alan is offline
external usenet poster
 
Posts: 138
Default Comment or not

On 24 Oct, 11:40, "Bob Phillips" wrote:
If Not ACtivecell.Comment Is Nothing Then
MsgBox "has coment"
...

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Alan" wrote in message

ps.com...



Is there an easy way within VBA to determine whether a give cell on a
worksheet has a comment associated with it or not?


Alan- Hide quoted text -


- Show quoted text -


Thanks Bob, that was just what I needed. I was using "On Error" as
Paul was suggesting but I have so many cases to consider my "GoTos"
were getting a bit complicated.

Alan