|
-
Jul 23rd, 2008, 07:21 AM
#1
Thread Starter
New Member
[RESOLVED] Quick Question
When creating an If...Then statement, how do I make more than one if?
For example
If TextBox5.Text = "1" OR "2" Then
Do something
End If
I need to make it so it will work if the textbox has 1 or 2. For right now, I can only get it for one number, or I will get an error that says the number 2 cannot be converted to boolean.
Thanks for your help.
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
|