excel - change and then stop checkbox working based on another cells value -
i trying improve way our time sheets work using excel. have can input time start , time finish , calculate hours worked. have check box can tick if had break or not. if ticked deduct half hour hours worked. now, if works more 6 hours compulsory have break less 6 choice. can writhe formula needed set check box gets ticked if hours worked greater 6 problem having is, if clicks tick box not adds half hour on deletes code in cell.
my question is: possible change value of cell linked check box based on value of cell , lock check box if hours worked greater 6 out code being in cell linked checkbox?
the user needs able use check box until hours worked greater 6 want show ticked locked use until hours worked less 6.
i have reasonable knowledge of excel , simple macros haven't used vba scripting much. have searched answers on here , other sites, have tried macros kick in cells data changed
private sub worksheet_change(byval target range) if target.address = "$b$4" call monday end sub sub monday() if b4 > 6 c4 = true end sub
would starting point or way off?
many
Comments
Post a Comment