-
-
Notifications
You must be signed in to change notification settings - Fork 40
setCellValue
Julian Halliwell edited this page Aug 6, 2024
·
7 revisions
Sets the value for a cell. If the cell doesn't exist it will be created.
setCellValue( workbook, value, row, column[, type ] )
-
workbookspreadsheet object -
valueany: value to set -
rownumeric -
columnnumeric
-
datatypestring: force the value to be set as one of the following data types:- "blank"
- "boolean"
- "date"
- "numeric"
- "string"
Chainable? Yes.
spreadsheet = New spreadsheet();
workbook = spreadsheet.new();
spreadsheet.setCellValue( workbook, "test", 1, 1 );
spreadsheet = New spreadsheet();
workbook = spreadsheet.new();
spreadsheet.setCellValue( workbook, "true", 1, 1, "boolean" );