Products
|
Download
|
Order
|
Forum
|
Contact us
NativeExcel suite v1.x
Reference
>
IXLSRange
>
AddComment
AddComment method
Adds a
comment
to the cell and returns
TXLSComment
object.
Syntax
function
AddComment:
TXLSComment
;
function
AddComment(
Text
: WideString):
TXLSComment
;
Text
Optional WideString. The comment text.
Example
This example adds the comment to A1 cell.
Workbook.Sheets[
1
].Range[
'A1'
,
'A1'
].AddComment(
'Comment text'
);
Copyright © NikaSoft 2004-2012