2

I want to print the Google script I have written (ultimately into a PDF) so I can send it to someone for them to look at.

I am unable to share the spreadsheet with them so I want to send it as another file but I don't want to lose the formatting. Not sure if this is possible but any help would be great. Thanks.

Nagaram92
  • 153
  • 2
  • 10

1 Answers1

1

To export a static version of your code as displayed in the Apps Script Editor do the following: "Save Page As..." "Complete Webpage" on Chrome (other browsers will have corresponding method). Then share the resulting .htm file and folder. Delete all the .js files so that you don't get error messages. Done!

Here's an example folder you can download to see what the result looks like with javascript files deleted: https://drive.google.com/drive/folders/1eEhXJ7O7wc_uVzvzxIQ-ZpDnKA6HD_61?usp=sharing

Cornelius Roemer
  • 3,772
  • 1
  • 24
  • 55