-
-
Couldn't load subscription status.
- Fork 39
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 )
-
workbookspreadsheet object
-
rownumeric: required ifcolumnis specified. -
columnnumeric: required ifrowis 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 );