Hi I want to adapt the code below so when the cell has locked after some input the background changes colour
The code is
Worksheet. Change
Private sub worksheet_change(byval target as range)
Activesheet.unprotect password:=“blablabla”
Target.locked = true
Activesheet.protect password := etc etc
End sub
The code is
Worksheet. Change
Private sub worksheet_change(byval target as range)
Activesheet.unprotect password:=“blablabla”
Target.locked = true
Activesheet.protect password := etc etc
End sub