📜  google sheet script save A RANGE to csv - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:23.703000             🧑  作者: Mango

代码示例1
function onOpen() {
  var ss = SpreadsheetApp.getActiveSpreadsheet();
  var searchMenuEntries = [ {name: "Search in all files", functionName: "search"}];
  var csvMenuEntries = [{name: "Save as CSV file", functionName: "saveAsCSV"},
                      {name: "Load from CSV file", functionName: "importFromCSV"}];
  ss.addMenu("Search Google Drive", searchMenuEntries);
  ss.addMenu("CSV", csvMenuEntries);
}