go to active sheet apps script code example Example: get active sheet google script SpreadsheetApp.getActiveSheet()