To use this script in Google Drive:
- In your spreadsheet, click Tools->Script Editor.
- Paste the contents of Code.gs into the editor.
- Save.
- Select "Allow" when Google asks about permissions.
- Reload your spreadsheet.
You should now see a new file menu option, "Export".
It is useful.
But I have a question.
When I export goolesheet to pdf, can I export 50 rows per a page of pdf?.
If you have a solution, please teach me