I'm making a spreadsheet for users where I would like to have a specific range protected so they cannot be edited by users, but they can be edited by a macro that runs whenever the sheet is opened. I protected the range, but when users open the page it says they cannot edit the protected cells, as in the macro cannot edit the cells.
I know this is possible with VBA but I was wondering if there's something similar for Google Apps Script.
Thanks