Skip to content

Instantly share code, notes, and snippets.

View JeancarloFontalvo's full-sized avatar

Jeancarlo Fontalvo (Jeancaseven) JeancarloFontalvo

View GitHub Profile
@JeancarloFontalvo
JeancarloFontalvo / export-named-sheet-as-csv.gs
Created January 28, 2019 20:56 — forked from mrkrndvs/export-named-sheet-as-csv.gs
Google apps script to export an individual sheet as csv file
/*
* script to export data of the named sheet as an individual csv files
* sheet downloaded to Google Drive and then downloaded as a CSV file
* file named according to the name of the sheet
* original author: Michael Derazon (https://gist.github.com/mderazon/9655893)
*/
function onOpen() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var csvMenuEntries = [{name: "Download Primary Time File", functionName: "saveAsCSV"}];