I am very inexperienced in VBA coding, so I hope somebody can help me. What I am trying to accomplish is this:
If Cell "B4" = 0, then lock cells "E14"-"E47" so that you cannot enter data in them, otherwise If cell "B4" contains another value, then leave cells "E14-E47" unlocked so that data can be entered in them.
I do have the worksheet password protected, but cells E14-E47 are cells that I have unlocked because I want the user to be able to enter data into these cells, unless of course the value of "B4" is zero.
Bookmarks