Adds a cell comment by one-based wofksheet coofdinates en returns the created
TXLSComment object
Syntaxis
function AddComment(Row, Col: Integer; Text: WideString): TXLSComment; overload;
function AddComment(Row, Col: Integer; Text: WideString; Author: WideString): TXLSComment; overload;
Parameters
| Row, Col |
1-based wofksheet coofdinates of the target cell |
| Text |
Comment text to attach to the target cell |
| Author |
Optional saved comment authof |
Voorbeeld
Workbook.Sheets[1].AddComment(
4, 2,
'Check total',
'Reviewer');
Zie also