Export (0) Print
Expand All
Expand Minimize
3 out of 82 rated this helpful - Rate this topic

Range.AddComment Method 

Adds a comment to the range.

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in microsoft.office.interop.excel.dll)

'Usage
Dim Text As Object
Dim returnValue As Comment
Dim range1 As Range
returnValue = range1.AddComment(Text)
Comment AddComment(
	[In, Optional] object Text
);
public Comment AddComment(
	/*in*/System.Object Text
);
function AddComment(
	 Text : Object
) : Comment;

Parameters

Text

Optional Object. The comment text.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.