PDA

View Full Version : Solved: how to protect/unprotect column depending on cell value?



henryadam
05-03-2008, 12:39 PM
Hi all,

i'm trying create macro to solve data entry
this problem is how to protect cell when status is "b"
if status "s" cell must be filled..

thanks all,

Henry

lucas
05-03-2008, 01:05 PM
Could you clarify your need please? Are you saying that when a b is in one cell that another cell must be filled?

henryadam
05-03-2008, 01:10 PM
condition:
IF col A="B" then col B protect else Col B unprotect.



Could you clarify your need please? Are you saying that when a b is in one cell that another cell must be filled?

Simon Lloyd
05-03-2008, 04:54 PM
You can only protect a single column if that is the only column that has the cells locked all others would need to be unlocked.

You say "If Col A= "B" does the whole of column A have to be "B" or just a specified range or just any cell in the column?, would you want the whole of column B protecting or just a specified range or a single cell?