-
-
Notifications
You must be signed in to change notification settings - Fork 36
getCellComment
Julian Halliwell edited this page Sep 20, 2021
·
8 revisions
Returns comment properties from a single cell as a struct, or from the entire active sheet as an array of structs.
getCellComment( workbook, row, column )
or
getCellComment( workbook )
-
workbook
spreadsheet object
-
row
numeric: required ifcolumn
is specified. -
column
numeric: required ifrow
is specified.
Chainable? Yes but ends the chain.
Author
-
Column
(number) Comment
-
Row
(number)
spreadsheet = New spreadsheet();
workbook = spreadsheet.new();
spreadsheet.addColumn( workbook,"a" );
theComment = {
author="cfsimplicity"
,comment="This is the comment in row 1 column 1"
};
spreadsheet.setCellComment( workbook,theComment,1,1 );
comment = spreadsheet.getCellComment( workbook,1,1 );