Version

WorksheetCellComment Class

Represents a comment for a cell.
Syntax
'Declaration
 
Public Class WorksheetCellComment 
   Inherits WorksheetShape
public class WorksheetCellComment : WorksheetShape 
Remarks

Comments cannot be added to a worksheet's or a shape group's shapes collection. Instead, they must be set directly on the cell with the cell's WorksheetCell.Comment property.

It is not required that the anchors of this shape be initialized before setting it as the comment of a cell. If the WorksheetShape.TopLeftCornerCell and WorksheetShape.BottomRightCornerCell anchors are both null when the comment is applied to a cell, default anchor cells will be used based on the cell.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also