google spreadsheet scripts get sheet by name code example
Example: google sheets get sheet by name
var sheet = SpreadsheetApp.getActive().getSheetByName('YourSheetNameHere')
var sheet = SpreadsheetApp.getActive().getSheetByName('YourSheetNameHere')