How to check if a option button was not selected

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

What do you have to check it against to see if an option button was not
selected. Here is what I had but am getting an error.

ElseIf (Me.Option4.Value = -1 And Me.Option6.Value = -1) Then
...
End If
 
What is your error? You may be having a problem with null values. You can put
Nz([Option4])=-1 then...

You do not need the .Value on your if statement.
 
Back
Top