0
var staffSheet = SpreadsheetApp.openById('0AvHCNzkk36UPdENnQndpZ3VoUmVUUjJmOEZjVTBQNXc');
var staff_active_sheet = staffSheet.getSheetByName("Staff");
var staffs = staff_active_sheet.getRangeByName("A1:C" + staff_active_sheet.getLastRow()).getValues();
4

1 回答 1

0

您正在调用不存在getRangeByNameSheet 。你可能想打电话getRange

于 2012-11-07T20:05:31.350 回答