NamedRange::Comment Property

 

Gets a Comment that represents the comment associated with the cell in the upper left corner of the NamedRange control.

Namespace:   Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

property Comment^ Comment {
	Comment^ get();
}

Property Value

Type: Microsoft.Office.Interop.Excel::Comment^

A Comment that represents the comment associated with the cell in the upper left corner of the NamedRange control.

The following code example creates a NamedRange and adds a comment to the cell. It then displays a message box that causes the comment to become visible if the user clicks OK.

This example is for a document-level customization.

No code example is currently available or this language may not be supported.
Return to top
Show: