Conditional formatiing used to lock cells

RodneyW

Active Member
Joined
Sep 24, 2010
Messages
475
Office Version
  1. 2013
Platform
  1. Windows
I want to lock cells H9 - H49 if H8 has an x in it. I know I can use Conditional Formatting for font styles, cell color, etc., but I don't see a way to use it to lock cells, Is this possible and if so, how?

Thanks in advance
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
I am pretty sure that you cannot use Conditional Formatting to lock cells - it just "formats" cells, as its name suggests.
I think what you want to do will require VBA.

The question is, how and when is cell H8 being populated with an "x"?
 
Upvote 0
It’s simple user data entry typing the letter x into H8. If it requires VBA, then I need to find a different way to accomplish my goal
 
Upvote 0
I don't know of any other way other than by VBA.
Perhaps you can use Data Validation, and have it choose an empty list, and not allow them to enter any other values. Not sure, you would have to play around with that.
See: https://www.contextures.com/xlDataVal02.html
 
Upvote 0

Forum statistics

Threads
1,223,894
Messages
6,175,254
Members
452,624
Latest member
gregg777

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