Hey there, i am currently working on a Visual Basic 6.0 project for school, and i have run into a little problem here that i need assistance on. I won't go into details on the assignment, because its irrelivent, i'm simply having a problem with my error handling on it. I need to provide a message box popup that will display if none of the 3 options buttons in a frame are selected. I was thinking about how i was going to do this for quite some time, and the best idea i could come up with was to do this... Dim int1, int2, int3, intTotal As Integer
If optOverNight.Value = False Then
int1 = 1
ElseIf optDays.Value = False Then
int2 = 2
ElseIf optWeeks.Value = False Then
int3 = 3
End If
intTotal = int1 + int2 + int3
If intTotal = 6 Then
MsgBox "You must select a delivery option, vbOkOnly, "Error"
End If
But this code obviously did not work, so i was wondering if anybody had another idea i could try. I feel like i am making this harder than it actually is, so someone hitting me with some common sense would be much appreciated.