Interacting with editorsSpreadsheet APIEventsonChangeCurrentSheet本页总览onChangeCurrentSheet The function called when the current sheet has changed. Parameters NameData typeDescriptionindexnumberThe index of the newly activated worksheet.