Hi

I am new to this forum so if im doing anything wrong just tell me.

What my question is that i have this code

Private Sub Command1_Click()
If txtBox_value < 1 Then
Form4.Hide
Form6.Show

Else
Form4.Hide
Form5.Show
End If

End Sub


But i want it to be < 1 Or > 4 Then

The thing is when i put in "Or" it comes up saying expected expression so im guessing its not "Or" or i have to add something else in. Could someone help me as its probably just a silly thing that i have forgot.

Thanks

Jamie