Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.

Example

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

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


Applies to | Range Collection


Show:
© 2014 Microsoft