|
-
Sep 9th, 2007, 05:41 AM
#1
Thread Starter
Lively Member
[RESOLVED] Need help with code
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|