I have a worksheet that has a few sections of grouped rows to make it easier to view and print, and this worksheet is protected to stop users from messing up formulas, etc.
and I created a custom protection script that adds this when protecting the sheet
And this partially works. I can lock the worksheet with the script, and then ungroup and group those rows.
But when I close and reopen the file, those rows can no longer be ungrouped?
A google search mentioned using a workbook open like this:
But with that code, when open the workbook, you are prompted to unlock the workbook.
Anyone have any advice on how to group and ungroup rows in a protected workbook?
Thanks,
PT
Bookmarks