Group/Ungroup Protected Worksheet

markbach

New Member
Joined
Jan 17, 2019
Messages
2
Hello!

I am an intermediate excel user who is designing a large file which will be used by many people. I cannot tell you more then that.

I would like for users to be able to group/ungroup columns and rows on protected worksheets. Initial research tells me this requires VBA skills that I am only just beginning to learn.

Other info regarding the macro I require:
1. I would like this macro to be effective on all sheets in the workbook.
2. I would like to not have to run this macro everytime I opened the file (IE only use the macro when protecting/unprotecting the sheets, which I hope will be a rare occurence).
3. I will likely attach this macro to a button.
4. The numerous sheets will have unprotected cells, formula's, etc.

Thank you for your help!!
Mark
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
5. If users disable macros, the sheet is automatically protected so people are not able to change it.

Wish I could edit my post :(
 
Upvote 0

Forum statistics

Threads
1,214,822
Messages
6,121,770
Members
449,049
Latest member
greyangel23

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