Skip to content

Instantly share code, notes, and snippets.

@mikestarks91
mikestarks91 / CSVer.gs
Last active December 18, 2020 10:02 — forked from oshliaer/3acd892713c001e9a579.md
Batch import CSV to Spreadsheet and Export PDF
var CSVer = function() {
var spreadsheet_ = null;
var dataSheet = null;
// Set spreadsheet variable and creates new sheet within CSVer() object
this.setUpSpreadsheet = function(){
spreadsheet_ = SpreadsheetApp.openById(ss_id);
dataSheet = spreadsheet_.getSheetByName(dataTab_name);
return this;
}
// Import file data into spreadsheet