addSheet

adds a new sheet into the spreadsheet

string addSheet(string name);

Parameters

namestringthe name of the new sheet

Returns

stringthe id of the new sheet

Example

spreadsheet.addSheet("New Sheet");
// -> "u1614669331209"

Details

To apply this method, you need to enable the multisheets configuration option.

Change log

added in v4.1

Back to top