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".
Hi all,
thanks a lot for the script and additional info! I am new to script and would appreciate your help in adapting this script to create the PDF from selected cells as opposed to the whole sheet. Many thanks!!