Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Comments Interface

Definition

Namespace:
Microsoft.Office.Interop.Excel
Assembly:
Microsoft.Office.Interop.Excel.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

public interface class Comments : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("00024426-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface Comments : System.Collections.IEnumerable
Public Interface Comments
Implements IEnumerable
Attributes
Implements

Remarks

Use the Comments property to return the Comments collection.

Use the AddComment(Object) 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.

Properties

_Default[Int32]

Reserved for internal use.

Application

Returns an Application object that represents the Microsoft Excel application.

Count

Returns the number of objects in the collection.

Creator

Returns a 32-bit integer that indicates the application in which this object was created.

Parent

Returns the parent object for the specified object.

Methods

GetEnumerator()
Item(Int32)

Returns a single object from a collection.

Applies to


Feedback

Was this page helpful?