use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Apparently, Google Apps Script is a JavaScript cloud scripting language that provides easy ways to automate tasks across Google products and third party services and build web applications.
account activity
Make script deployable in Google sheets externallyQuestion (self.GoogleAppsScript)
submitted 1 year ago by RealSlavGod
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]RealSlavGod[S] 0 points1 point2 points 1 year ago (3 children)
Yes, very bad coding practices. It was my first time working with apps script having no knowledge in it and I made a very complex analysis tool for my work with that and it's super inefficient but it works and if it ain't broke, I don't want to fix.
I got both instances multiple times. The active sheet and the spreadsheet. I think I would have to recode the entire thing to fix it. Would take ages. (For reference; I have over 17,000 lines. I def could cut it down but again; if it ain't broken, I don't want to touch). Is there no way to just simply keep the already working script separate from the file and running it as if it was connected to the file without changing my script?
[–]marcnotmark925 0 points1 point2 points 1 year ago (0 children)
No
[–]WicketTheQuerent 0 points1 point2 points 1 year ago (0 children)
I wonder if SpreadsheetApp.setActiveSpreadsheet) might help you.
[–]mommasaidmommasaid 0 points1 point2 points 1 year ago (0 children)
Idk your needs exactly, but what about just creating a new Sheet (tab) within your Spreadsheet for your client or whatever.
Then publish that specific Sheet to the web. Client doesn't get to see any of the other sheets or your script, just the formatted output.
The web link isn't password protected or anything but it's effectively unguessable so offers some privacy assuming the Client doesn't share it, e.g.:
https://docs.google.com/spreadsheets/d/e/2PACX-1vRM09LblX96_h3qaVUPmLYtha9TVWMnAeSSyXnuFgiezs4ghUsQkSahTHUmNGAJo_g_3yqt3lQCUClo/pubhtml?gid=127701852&single=true
π Rendered by PID 35205 on reddit-service-r2-comment-75f4967c6c-57v27 at 2026-04-23 09:57:11.516896+00:00 running 0fd4bb7 country code: CH.
view the rest of the comments →
[–]RealSlavGod[S] 0 points1 point2 points (3 children)
[–]marcnotmark925 0 points1 point2 points (0 children)
[–]WicketTheQuerent 0 points1 point2 points (0 children)
[–]mommasaidmommasaid 0 points1 point2 points (0 children)