I have developed a Google Sheets spreadsheet with loads of macros, but I want to have a protected version of it, a blank "master copy" that I then duplicate every time I want to use it.
I can set protection so that I get a warning if I accidentally try to edit the master, but if I run any of the macros then they ignore the protection.
I could put a line at the start of every macro to check for the existence of Protection objects, but there are quite a lot of macros!
Is there anything I can do to make macros respect the protection, outside of editing every macro?