Answers for "getSheetByName"

0

getSheetByName

var sheet = SpreadsheetApp.getActive().getSheetByName('Local')
Posted by: Guest on August-11-2021
0

getSheetByName

// The code below logs the index of a sheet named "Expenses"
const sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Expenses")
if (sheet != null) {
  Logger.log(sheet.getIndex())
}
Posted by: Guest on August-11-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language