SpreadsheetGetCellComment

Gets all or a single comment from a cell in a spreadsheet.

Method Signature

SpreadsheetGetCellComment(spreadsheetObj=[any], row=[any], column=[any])

Arguments

Argument
Type
Required
Description
Default

spreadsheetObj

ANY

true

The spreadsheet object.

row

NUMERIC

false

The row number (1-based). Optional.

column

NUMERIC

false

The column number (1-based). Optional.

Examples

Get a cell comment:

// Retrieve comment from cell
var spreadsheet = SpreadsheetNew();
SpreadsheetSetCellComment( spreadsheet, 1, 1, "This is a note" );

var comment = SpreadsheetGetCellComment( spreadsheet, 1, 1 );
println( comment );

Last updated

Was this helpful?