Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
AddComment Method

AddComment Method [Excel 2003 VBA Language Reference]

Office 2003

Adds a comment to the range.

expression .AddComment(Text)

expression Required. An expression that returns a Range object.

Text   Optional Variant. The comment text.


This example adds a comment to cell E5 on worksheet one.

Worksheets(1).Range("E5").AddComment "Current Sales"

Applies to | Range Collection

© 2015 Microsoft