TabSwitchedEventInterface TabSwitchedEventAn event that signals when a user selects a different tab in a workbook. interface TabSwitchedEvent { newSheetName: string; oldSheetName: string;}IndexPropertiesnewSheetName oldSheetName PropertiesReadonlynewSheetNamenewSheetName: stringReturnsThe name of the sheet that is active after the tab switch event. ReadonlyoldSheetNameoldSheetName: stringReturnsThe name of the sheet that was active before the tab switch event occurred. SettingsMember VisibilityProtectedInheritedExternalThemeOn This PagePropertiesnewSheetNameoldSheetName
TabSwitchedEventInterface TabSwitchedEventAn event that signals when a user selects a different tab in a workbook. interface TabSwitchedEvent { newSheetName: string; oldSheetName: string;}IndexPropertiesnewSheetName oldSheetName PropertiesReadonlynewSheetNamenewSheetName: stringReturnsThe name of the sheet that is active after the tab switch event. ReadonlyoldSheetNameoldSheetName: stringReturnsThe name of the sheet that was active before the tab switch event occurred. SettingsMember VisibilityProtectedInheritedExternalThemeOn This PagePropertiesnewSheetNameoldSheetName
An event that signals when a user selects a different tab in a workbook.