Represents a worksheet.
Retrieves formatted text in the cell based on the desired row and column index.
The row index.
The column index.
Returns the formatted text of the cell.
var text = worksheet.getText(0, 0); Copy
var text = worksheet.getText(0, 0);
Retrieves unformatted data from the specified cell based on the desired row and column index.
Object Returns the value of the cell.
var value = worksheet.getValue(0, 0); Copy
var value = worksheet.getValue(0, 0);
Retrieves the selections in the current sheet.
The type Range is stored in an Array.
var selection = worksheet.getSelections(); Copy
var selection = worksheet.getSelections();
Represents a worksheet.