Protecting Columns

nparsons75

Well-known Member
Joined
Sep 23, 2013
Messages
1,254
Office Version
  1. 2016
Hi,

Is it possible to protect certain columns with a password. I would like to password protect some columns in order to allow only a certain number of authorised people to edit them?

Thanks,
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
if you look under format cells the last tab is protection. What you need to do is untick all cells that you want editable then you can set a worksheet password allowing only editable cells to be entered.

by code this is
Locking
Code:
Columns("D:D").Locked = True

Unlocking
Code:
Columns("D:D")..Locked = False
 
Last edited:
Upvote 0
Hi,

Ok, so I have two different levels of people of whom I would like to be able to edit certain things. For example, supervisor can edit some areas and a manager with have more areas available to edit?

Would that be possible. I need all to view but only access as needed.

Thank you again
 
Upvote 0
Hi, that was looking great, I have tried it in excel 2016, the option is there but will not work...
 
Upvote 0
Have to say, not tried it myself. I have built my own multi-password system in the past but its not straight forward
 
Upvote 0

Forum statistics

Threads
1,215,243
Messages
6,123,837
Members
449,129
Latest member
krishnamadison

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