Hi,
i have a protected sheet with unlocked cells C35 to C38. these cells are actually tick boxes (linked to the cells). i need a VBA code to do the following:
when the tick box in cell C35 is ticked (i.e, the selected option is TRUE); i need the remaining cells C36 to C38 to be locked so that their relative tick boxes cannot be ticked.
and the same to all the other tick boxes. i.e, when C36 is ticked, then C35,C37 and C38 will be locked (cannot be ticked); etc for all the 4 tick boxes. (and i think what the code should include is that when ticking one box the other boxes will be unticked automatically or something like that)
and i noted something that when a cell that has a tick box is locked, the box actually can be ticked but the text will be "False", it won't be changed to "TRUE". I need to avoid the box being ticked when a cell is locked also.
i'm not familiar with VBA , can anyone help me in that please.
thanks
i have a protected sheet with unlocked cells C35 to C38. these cells are actually tick boxes (linked to the cells). i need a VBA code to do the following:
when the tick box in cell C35 is ticked (i.e, the selected option is TRUE); i need the remaining cells C36 to C38 to be locked so that their relative tick boxes cannot be ticked.
and the same to all the other tick boxes. i.e, when C36 is ticked, then C35,C37 and C38 will be locked (cannot be ticked); etc for all the 4 tick boxes. (and i think what the code should include is that when ticking one box the other boxes will be unticked automatically or something like that)
and i noted something that when a cell that has a tick box is locked, the box actually can be ticked but the text will be "False", it won't be changed to "TRUE". I need to avoid the box being ticked when a cell is locked also.
i'm not familiar with VBA , can anyone help me in that please.
thanks