Grouped Cells in Protected Sheet

Robandemmy

Board Regular
Joined
Jul 16, 2018
Messages
65
I have a workbook that I am supplying to a production shop to help allocate their costs properly. For the most part, the sheet takes a few columns of inputs from the operators that are used in formula driven cells to calculate various costs.

I first made sure that all the cells in the sheet were locked and then went back and and unlocked the cells that require inputs and finally protected the sheet.

My problem is that I had a few sets of columns grouped so that they could be easily hidden/collapsed for better viewing. The sheet protection however has disabled this function and the columns are stuck how they were when the sheet was locked.

Is there a way around this? Preferably macro-free but will take what I can get! :)
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
So I have this:

Private Sub Workbook_Open()
With Worksheets("jan")
.EnableOutlining = True
.Protect UserInterfaceOnly:=True
End With
End Sub


But no matter what I do, I can't seem to get it to apply to all sheets. It only works when I have one sheet named.

Any ideas?
 
Upvote 0

Forum statistics

Threads
1,213,517
Messages
6,114,085
Members
448,548
Latest member
harryls

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