Email or CSV only what the filter is showing
Ops already know how to slice the sheet: filter Region = East, Status = Overdue, done. What they can’t do is send that view anywhere without…
Email or CSV only what the filter is showing
Ops already know how to slice the sheet: filter Region = East, Status = Overdue, done. What they can’t do is send that view anywhere without…
Export Spreadsheet As Xlsx
exportSpreadsheetAsXlsx(spreadsheetId, fileName) builds the spreadsheet export URL (format=xlsx), fetches it with ScriptApp.getOAuthToken…
Sheet Tab To Pdf Blob
sheetTabToPdfBlob(sheet, opts) exports one tab to a PDF blob via the spreadsheet export URL and that tab's gid. It authorizes with ScriptApp…
Generate a PDF from a sheet row and file it in Drive
Ops wants a PDF of each approved row, dropped in that client’s Drive folder, named so a human can find it six months later. The spreadsheet…
Write Values as a CSV File in Drive
After a nightly sync you often want a dated CSV in Drive without opening Sheets. Build the 2D array, turn it into CSV (reuse valuesToCsv…
Convert Sheet Values to CSV Text
Need a CSV string for email attachments, Drive dumps, or API uploads? Escape commas/quotes/newlines correctly, then join rows. These two…