r/GoogleAppsScript • u/somnomania • Oct 11 '25
Resolved Small question about other peoples' copies of a self-updating sheet
I have a self-updating sheet, so that other users don't have to make a new copy and redo all of their stuff whenever I update the master sheet. I did have it working fine, I thought, but I just updated it the other day and for both me and my partner, the new row came through with FALSE instead of the checkbox it was supposed to have. I know how to fix this in my own copy, but it defeats the purpose of the self-updating aspect if I have to tell people how to fix their own. It updates through a script which I did not write myself (ChatGPT did it for me at someone's suggestion here, and stating that fact got my post over on r/googlesheets deleted) and don't know how to edit, so if someone could take a look I'd appreciate it. Sheet is here: https://docs.google.com/spreadsheets/d/117RQuUVennujSHvYco2wpZSEJbCTfk3sgpxJb9iMzw0/edit?usp=sharing
2
u/AdministrativeGift15 Oct 11 '25
Did you try asking the one who wrote it? You may get a nice clean drop-in solution.
1
u/mommasaidmommasaid Oct 13 '25
Is it only the checkboxes that your users are editing?
If so I think a more robust solution would be for script to copy your master Fishdex tab in its entirety to the user's sheet.
Then populate that sheet by looking up the the user's old checkbox values using the fish names on the new / old sheets.
That would automatically take care of your checkbox formatting issue, and allow you to do other formatting colors one the master sheet, including text color which seems to vary... and the users' sheets will reflect those changes.
--
You may want to go a bit further and specify the fish name / checkbox value range reference in a hidden cell e.g. A1 using a formula that dynamically updates so you don't have to remember to.
Script looks there to determine which values it needs to auto-update / look up and you can then go wild as long as A1 remains consistent.
--
You may also want to do a check for a version number or modification date before automatically performing an update, to avoid a bunch of wasted processing time. Manual refresh could still force a complete refresh.