Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Can Google Sheets macros respect protected ranges?

$
0
0

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?


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>