AfterSheetRemove

fires after a sheet is removed

void AfterSheetRemove(object sheet){ ... };

Parameters

sheetobjectthe object of a sheet

Example

spreadsheet.events.on("afterSheetRemove", function(sheet) {
    console.log("The ", sheet.name, "sheet is removed");
});

Details

The sheet object contains the following parameters:

  • name - (string) the name of the sheet
  • id - (string) the id of the sheet
Change log

added in v4.1

Back to top