Share via


Range.Comment Property 

Returns a Comment object that represents the comment associated with the cell in the upper-left corner of the range.

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

Usage

Dim range1 As Range

Dim returnValue As Comment
returnValue = range1.Comment

Syntax

ReadOnly Property Comment() As Comment
Comment Comment {get;}
property Comment^ Comment{
    Comment^ get();
}
public Comment get_Comment();
function get Comment() : Comment;

Thread Safety

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

Platforms

Development Platforms

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

Target Platforms

See Also

Reference

Range Interface
Microsoft.Office.Interop.Excel Namespace

Other Resources

Range Members