Link to home
Start Free TrialLog in
Avatar of SteveL13
SteveL13Flag for United States of America

asked on

Check at least one of three checkboxes

On a form I have three checkboxes.  At least one of them has to be checked.  If the user hasn't checked at least one of them I want a message box to let them know they have to select at least one of them and not let them proceed.   I tried this but it doesn't work because the user has to check all three.

    If Me.chkbxOne Or Me.chkbxTwo Or Me.chkbxThree = False Then
        MsgBox "You must select either One, Two, or Three."
    End If
ASKER CERTIFIED SOLUTION
Avatar of Dale Fye
Dale Fye
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of SteveL13

ASKER

Thank you.
glad to help