HotXLS Docs

Text property

Returns or sets the text of the comment. Read/write WideString.

Syntax

property Text: WideString;

Example

This example sets the comment for cell E5.

Workbook.Sheets[1].Range['E5', 'E5'].AddComment.Text := 'Comment';