Protect only hidden column - Possible??

Status
Not open for further replies.

ntruong

Active Member
Joined
Aug 4, 2003
Messages
261
Dear Experts,

Is there a way to password-protect a hidden column without having to protect the whole worksheet. My goal is people should be able to make other changes but they cannot open the hidden column.
Can a macro or VB code does it?
Thanks a lot,

Nee
 
Non-VBA:

Select all cells in the sheet by:
1. Clicking the “Select All” button (the button at the intersection of row numbers and column letters); or
2. Ctrl-A (hold down the Ctrl key and then hit the A key).

Go to the Format menu | Cells | Protection Tab
Remove check from Locked
OK

Select the column you want to lock
Go to the Format menu | Cells | Protection Tab
Place check in Locked
OK

Hide the selected column.

Go to Tools menu | Protection | Protect Sheet
Enter a Password
OK
Confirm Password
OK

Because you have removed the locked status from all cells (step one), protection will not effect entry to the worksheet with the exception of the selected column (which is hidden anyway).

Regards,

Mike
 
Upvote 0
Mike,
Thanks for the tip.
However the challenge is how to protect only selected columns with a password from a protected worksheet without a ps.
The goal is for employee to make format changes as they wish but they cannot open the password-protected columns.

Again, I wonder if excel can do something like this.

Please shed some light. Thanks.

Nee
 
Upvote 0
Status
Not open for further replies.

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