G
Guest
I have four checkboxes on my form. Before the form is closed, i want to make
sure to check that at least one checkbox has been choosen.
I was able to use this code if only one checkbox is checked but when I add
the AND to check all four, it closes the form without checking. What am i
doing wrong? Any help would be greatly appreciated. Thanks.
If Standard.Value = False And PostChange.Value = False And Emergency.Value =
False And Procedure.Value = False Then
MsgBox "Please select a change type."
End If
sure to check that at least one checkbox has been choosen.
I was able to use this code if only one checkbox is checked but when I add
the AND to check all four, it closes the form without checking. What am i
doing wrong? Any help would be greatly appreciated. Thanks.
If Standard.Value = False And PostChange.Value = False And Emergency.Value =
False And Procedure.Value = False Then
MsgBox "Please select a change type."
End If