|
-
May 9th, 2005, 04:01 PM
#1
Thread Starter
New Member
IF statements with AND or OR
I know how to do IF statements in visual basic, but how do I incorporate AND and OR statements? ie, a simple if statement is:
if UserForm.CheckBox1 = True Then
statement
End If
But I want one that says:
if UserForm.CheckBox1 = True or if UserForm1.CheckBox 2 = True Then
statement
End If
and the same again, but using AND not or
Thanks for any help given.
Last edited by red6000; May 9th, 2005 at 05:48 PM.
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
|