Comments Interface

A collection of cell comments. Each comment is represented by a Comment object.

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

Syntax

'Declaration
<GuidAttribute("00024426-0000-0000-C000-000000000046")> _
<InterfaceTypeAttribute()> _
Public Interface Comments _
    Inherits IEnumerable
'Usage
Dim instance As Comments
[GuidAttribute("00024426-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute()]
public interface Comments : IEnumerable

Remarks

Use the Comments property to return the Comments collection.

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

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

See Also

Reference

Comments Members

Microsoft.Office.Interop.Excel Namespace