小编Mok*_*lan的帖子

ReferenceError:未定义"表格"

这是我第一次使用脚本编辑器.我被分配做一个脚本来为谷歌表格的数据透视表.

  //creating pivot table through script editor for google sheet
  function addPivotTable() {

  var ss = SpreadsheetApp.getActiveSpreadsheet();
  var sheetName = "Sheet1";

  // Create a new sheet which will contain our Pivot Table
  var pivotTableSheet = ss.insertSheet();
  var pivotTableSheetId = pivotTableSheet.getSheetId();

 // Add Pivot Table to new sheet
 // Meaning we send an 'updateCells' request to the Sheets API
 // Specifying via 'start' the sheet where we want to place our Pivot Table
 // And in 'rows' the parameters of our …
Run Code Online (Sandbox Code Playgroud)

javascript json google-sheets

5
推荐指数
2
解决办法
5907
查看次数

标签 统计

google-sheets ×1

javascript ×1

json ×1