6 posts tagged with “export”

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…

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…