A
albycindy
I have written code to disable a button on my form based on the value of a
check box but it keeps telling me that I have put in an Else without an If
(which is obviously there)...why?
Private Sub CarrierCheck_AfterUpdate()
If CarrierCheck.Value = True Then CmdLynx.Enabled = True
Else: Cmd Lynx.Enabled = False
End If
End Sub
check box but it keeps telling me that I have put in an Else without an If
(which is obviously there)...why?
Private Sub CarrierCheck_AfterUpdate()
If CarrierCheck.Value = True Then CmdLynx.Enabled = True
Else: Cmd Lynx.Enabled = False
End If
End Sub