Skip to end of metadata
Go to start of metadata

Description

The Comments collection contains all Comment objects in the worksheet. To return a Comments collection, use Worksheet.Comments.

C#
vb.net

Properties

Name

Description

Count

Returns the number of Comment objects in the collection.

Indexers

Name

Description

Item(Int32)

Returns the Comment object at the specified position in the Comments collection.

Item(String)

Returns the Comment object with the specified name in the Comments collection.

Methods

Name

Description

CreateComment(Cell)

Creates a comment and associates it with the specified Cell.

CreateComment(Int32, Int32)

Creates a comment and associates it with the cell with the specified row and column coordinates.

GetEnumerator()

Returns an IEnumerator for the Comments in a Worksheet

Remove(Int32)

Removes the Comment object at the specified position from the collection.
  • No labels