removeSheet

removes a sheet from the spreadsheet by its id

void removeSheet(string id);

Parameters

idstringthe id of a sheet

Example

spreadsheet.removeSheet("u1614669331209");

Details

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

Also note, that a sheet won't be deleted if the number of sheets in the spreadsheet is less than 2.

Change log

added in v4.1

Back to top