This is a Google Apps Script (GAS) project which adds a "Download CSV Archive" button to Google Sheets that allows users to download a .zip file containing a .csv file for each sheet in the Google Sheet.
Click here to create a copy of the demo Google Sheet (the required GAS code will also be copied).
-
Open a Google Sheet
-
Go to
Extensions > Apps Script
-
Copy the code from
Code.gs
in this repository and paste it into theCode.gs
file in the GAS editor -
Copy the code from
download.html
in this repository and paste it into a newdownload.html
file in the GAS editor (create a new file using the GAS editor) -
Save the GAS project
-
Refresh the Google Sheet
-
Wait for the Google Sheet to finish loading. There should now be an
📁 Archive
button on the Google Sheets menu -
Press
📁 Archive > 🔥 Download CSV archive