[]
Adds comments to the current IRange.
IComment AddComment(string text)
Function AddComment(text As String) As IComment
| Type | Name | Description |
|---|---|---|
| string | text | The text you want to add. |
| Type | Description |
|---|---|
| IComment | The created comment. |
IRange range = worksheet.Range["A1"];
IComment comment = range.AddComment("Review this value.");
string text = comment.Text;