r/VibeCodeDevs • • 14h ago

NoobAlert – Beginner questions, safe space What should I check before a generated script touches my grant deadline sheet?

At my part-time job I keep a spreadsheet of grant reporting deadlines, and every week i copy dates between three sheets by hand. i only know normal formulas and a bit of conditional formatting, no real scripting. i want a reminder list of what is due in the next 14 days. i tried asking an AI assistant for a script for the sheet, but i could not tell if it was safe to run on files with budget figures. what should i check before i let a generated script touch the real file?

2 Upvotes

5 comments sorted by

1

u/Brashvv 14h ago

make a copy of the file first and run it on the copy, that's the main thing. google sheets also has version history (file > version history) so you can roll back if something goes wrong.

before running it ask the ai "does this write to or delete anything?" for a reminder list it really only needs to read the date columns and put the list on a new tab, it shouldn't touch the budget numbers at all.

also when apps script asks for permissions read them, if a reminder script wants access to your whole drive or to send emails that's a red flag

1

u/lilyp727 6h ago

the permissions screen i can check without knowing any scripting, so i will read it before pressing allow

1

u/Brashvv 5h ago

yeah that's the easiest check. for a reminder script on one sheet, "see, edit, create and delete your spreadsheets" is normal, google words it scary but that's the standard sheets permission. you'll probably also get a "google hasn't verified this app" warning, that's normal for your own script too (advanced > go to project).

if you want it locked to just that one file, ask the ai to add /** u/OnlyCurrentDoc */ at the top. then it can only touch the sheet it's attached to, not your other files.

gmail, "all files in your google drive" or "connect to an external service" is where i'd stop

1

u/lilyp727 5h ago

the OnlyCurrentDoc line is the one i will use

1

u/Brashvv 5h ago

good luck with it, if you get stuck anywhere just reply here and i'll help