Conditional locking ( possible? )

danmen

Board Regular
Joined
Jan 15, 2009
Messages
217
here's what I'm aiming at:

cell A1 has a drop-down list with LOCK and UNLOCK as possible choices

if A1 = LOCK, then cells B1 to B10 become locked
and if A1 = UNLOCK, then cells B1 to B10 become unlocked

how can I make cells B1 to B10 behave thusly?

thx. for any help!
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
1. Highlight B1:B10
2. Click on Data > Validation
3. Allow: Custom
4. Formula: =$A$1="UNLOCK"
5. Click on the Error Alert tab and put in an error message like "These cells are currently locked and cannot be edited."

Now the cells will only be editable if A1 has the word UNLOCK in it.
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,876
Members
452,363
Latest member
merico17

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