Locking/ Unlocking specific cells based on value

ChelseaRanee

New Member
Joined
Jul 17, 2017
Messages
6
HI!

I've tried reading through different threads and sites trying to find something code that will work for me but I don't know enough (or anything) about VBA to modify them to work for what I need so I'm hoping someone can help me out.

I have a spreadsheet set up for work that will be edited by each store (1 copy each, not shared). They will be entering test results in but the super important part is that they enter the date first so that it doesn't affect other formulas.

I'm wanting to set up an auto lock/unlock for when the date is entered so that they cannot possibly enter things in the wrong order.

Info:
Cell B9 is where the date will go and will always be unlocked.
Cells C12:E12, C17:E17, C22:E22, C27:E27, C32:E32, I12:J12, I17:J17, I22:J22, I27:J27, and I32:J32 will need to unlock once the date is entered (any value for unlock key would be fine if that's easier)
The rest of the worksheet will always be locked if this is possible.
Sheet name where this will be active is named "Data"

Thanks in advance!
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

Forum statistics

Threads
1,224,819
Messages
6,181,153
Members
453,021
Latest member
Justyna P

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