G
Guest
Hi Guys,
When using an IF statement can I do something like this?
If Me.Confirmed = -1 Then
Me.txtDate.Locked = True And Me.txtDate.ForeColor = vbRed
Else...
EndIf etc
Basically I can't use conditional formatting because the criteria is
checking whether a checkbox is ticked. If the box is ticked I basically want
to lock the control and change the forecolour to Red. Currently the lock
works but not the ForeColor property.
Cheers for any helpful hints & tips
Wendy
When using an IF statement can I do something like this?
If Me.Confirmed = -1 Then
Me.txtDate.Locked = True And Me.txtDate.ForeColor = vbRed
Else...
EndIf etc
Basically I can't use conditional formatting because the criteria is
checking whether a checkbox is ticked. If the box is ticked I basically want
to lock the control and change the forecolour to Red. Currently the lock
works but not the ForeColor property.
Cheers for any helpful hints & tips
Wendy