“Google Apps Script GetSheetByName” Respostas de código

Google App Script GetSheetByName

var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Expenses");
SubZ390

Google Apps Script 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())
}
SubZ390

Google App Script GetSheetByName

var sheet = SpreadsheetApp.getActive().getSheetByName('Local')
SubZ390

Respostas semelhantes a “Google Apps Script GetSheetByName”

Procure respostas de código populares por idioma

Procurar outros idiomas de código