03-04-2010, 07:46 PM
r.Comment returns 0.
It means that Excel does not give you a Comment object.
-----
r.Comment.Text calls 2 functions:
Excel.Comment c=r.Comment
out c ;;0
str s=c.Text ;;error because c is 0
It means that Excel does not give you a Comment object.
-----
r.Comment.Text calls 2 functions:
Excel.Comment c=r.Comment
out c ;;0
str s=c.Text ;;error because c is 0