Documentazione HotXLS
Contenuti
Home
Panoramica
TGridToXLS
IXLSWorkbook
Home
Contenuti
Panoramica
AddComment metodo
Adds a
comment
to the cell e returns
TXLSComment
object
Sintassi
funzione
AddComment:
TXLSComment
;
funzione
AddComment(
Text
: WideString):
TXLSComment
;
funzione
AddComment(
Text
, Author: WideString):
TXLSComment
;
Text
Optional WideString. The comment text
Author
Optional WideString. The saved comment author
Esempio
This example adds the comment to A1 cell
Workbook.Sheets[
1
].Range[
'A1'
,
'A1'
].AddComment(
'Comment text'
,
'Reviewer'
);