Compartilhar via


Comment Interface

Represents a cell comment.

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

Syntax

'Declaration
<GuidAttribute("00024427-0000-0000-C000-000000000046")> _
<InterfaceTypeAttribute()> _
Public Interface Comment
'Usage
Dim instance As Comment
[GuidAttribute("00024427-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute()]
public interface Comment

Remarks

The Comment object is a member of the Comments collection.

Use the Comment property to return a Comment object.

Use Comments(index), where index is the comment number, to return a single comment from the Comments collection.

Use the AddComment method to add a comment to a range.

See Also

Reference

Comment Members

Microsoft.Office.Interop.Excel Namespace