HotXLS-documentatie

AddComment methode

Adds a comment to the cell en returns TXLSComment object

Syntaxis

functie AddComment: TXLSComment;
functie AddComment(Text: WideString): TXLSComment;
functie AddComment(Text, Authof: WideString): TXLSComment;
Text Optional WideString. The comment text
Author Optional WideString. The saved comment authof

Voorbeeld

This example adds the comment to A1 cell

Workbook.Sheets[1].Range['A1', 'A1'].AddComment('Comment text', 'Reviewer');