Grouping on Protected sheets

hellomynameiskristin

Board Regular
Joined
Jan 6, 2011
Messages
60
I have a workbook with about 11 sheets. Its a pretty complex workbook and I am only allowing certain ranges to be editable. I also have alot of Groups that can be expanded or collapsed, but that doesn't work.

I want to protect the sheet against changes, but I also want to let users expand or collapse the groups. Is there a way to do that?
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Hi Kristin,

I usually have embedded buttons in my sheet to do that ( when a sheet is protected ). You unprotect the sheet, do the action, and reprotect the sheet, inside your button code.
 
Upvote 0
Hi Kristin,

If before you set the sheet protection, select the cells which are allowed to be edited, goto Format>Cells, select the Protection Tab, and Un-Check the Locked Option.

Then, when you protect the sheets, only the editable cells are accessable.
 
Upvote 0
You need to protect the sheets using the UserInterfaceOnly:=True argument and set the sheet's EnableOutlining property to true. This needs to be set every time the workbook is opened.
 
Upvote 0

Forum statistics

Threads
1,224,609
Messages
6,179,877
Members
452,949
Latest member
Dupuhini

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top