Docs HotXLS
Sommaire
Accueil
Aperçu
TGridToXLS
IXLSWorkbook
Accueil
Sommaire
Aperçu
AddComment-method
Adds a
comment
to the cell and returns
TXLSComment
object
Syntaxe
function
AddComment:
TXLSComment
;
function
AddComment(
Text
: WideString):
TXLSComment
;
function
AddComment(
Text
, Author: WideString):
TXLSComment
;
Text
Optional WideString. The comment text
Author
Optional WideString. The saved comment author
Exemple
This example adds the comment to A1 cell
Workbook.Sheets[
1
].Range[
'A1'
,
'A1'
].AddComment(
'Comment text'
,
'Reviewer'
);