google sheets script save A RANGE to csv

The solution for “google sheets script save A RANGE to csv” can be found here. The following code will assist you in solving the problem.

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);

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

inline scripts encapsulated in