How do you protect a sheets or cells or columns in a workbook, instead of the whole workbook?

Minty5490

New Member
Joined
Jul 13, 2016
Messages
14
Hi,

I have a few sheets in a workbook, which have macro`s, formula`s. When someone wants to input information they can do in the main sheets, where there are no formula`s, only input information.

How can I lock or password protect the sheet or stop keying in the sheet, protecting the cells?

thanks :)
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Select the sheet you want to protect & on the Review tab select "Protect Sheet"
 
Upvote 0
You can password protect the few sheets so that a user cannot make entries or change/delete formulas. But, if the user really never needs to see those sheets, it may be easier to make then very hidden. Here's how:
1. select the sheet.
2. right-click the sheet's tab (where the sheet name is) and select 'View code'. This will open the VB Editor window (VBE).
3. Press the F4 key - this opens the sheet's 'Properties' menu on the left side of the VBE.
4. Scroll down the properties menu to 'Visible' and in the drop down immediately to the right select 2-xlSheetVeryHidden.
5. save the file and close the VBE.

Unlike a hidden sheet, a veryHidden sheet cannot be found on the Ribbon menus (such as View>UnHide) which would allow a user to unhide the sheet. If you are concerned that a user might access the VBE/Properties to unhide the sheet, then you can password protect the VBE Project - VBE Menu>Tools>VBAProject Properties>Protection.
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,915
Members
452,366
Latest member
TePunaBloke

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