Comment Comment Comment Interface

Definition

Represents a cell comment.

public interface class Comment
[System.Runtime.InteropServices.Guid("00024427-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface Comment
Public Interface Comment
Attributes

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(Object) method to add a comment to a range.

Properties

Application Application Application

Returns an Application object that represents the Microsoft Excel application.

Author Author Author

Returns or sets the author of the comment.

Creator Creator Creator

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

Parent Parent Parent

Returns the parent object for the specified object.

Shape Shape Shape

Returns a Shape object that represents the shape attached to the specified comment.

Visible Visible Visible

Determines whether the object is visible.

Methods

Delete() Delete() Delete()

Deletes the object.

Next() Next() Next()

Returns a Comment object that represents the next comment.

Previous() Previous() Previous()

Returns a Comment object that represents the previous comment.

Text(Object, Object, Object) Text(Object, Object, Object) Text(Object, Object, Object)

Sets comment text.

Applies to