View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
bj bj is offline
external usenet poster
 
Posts: 1,397
Default comment function

try
Function Comment(MyCell)
Comment = MyCell.Comment.text
End Function


"BillyJ" wrote:

I'm trying to create a fucntion that references the comment in a cell. Below
is what I have but it's obviously flawed somehow but dont know how to fix it.
Any help? Many thanks in advance.

Function Comment(MyCell)
Comment = MyCell.Comments
End Function