“getsheetbyname” Kode Jawaban

getsheetbyname

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

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

Jawaban yang mirip dengan “getsheetbyname”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya