Omit controls from sheet protection

Bob Hustead

New Member
Joined
Jul 20, 2007
Messages
10
Hello,

I have a document with control buttons that hide rows and columns.

I have been unable to figure out how to protect selected cell contents, while still allowing the controls to function.

In the protection tab, I select "Contents" only. This works to protect the cell data, but does not allow my controls to function. I have tried right clicking the controls and "Unlocking, but this does not work.

Any help would be greatly appreciated.

Thank you,

Bob Hustead
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

BrianB

Well-known Member
Joined
Feb 17, 2003
Messages
8,127
Usually we include code to Unprotect - run the control code - then Protect.
 

Stormseed

Banned
Joined
Sep 18, 2006
Messages
3,274
are you referring to a cell or a range of cells which you want to be allowed for user access or modifications and protect all the other cells in a worksheet?
 

BrianB

Well-known Member
Joined
Feb 17, 2003
Messages
8,127
You lock or unlock cells depending on whether you want users to be able to change them or not and Unprotect/Protect the worksheet in the code so it can do its job.
 

Forum statistics

Threads
1,181,055
Messages
5,927,863
Members
436,573
Latest member
CMR237

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
Top