Thread: Multiple Thens
View Single Post
Old Feb 14th, 2006, 12:51 PM   #5
Kaja Fumei
Hobbyist Programmer
 
Join Date: Oct 2005
Posts: 134
Rep Power: 3 Kaja Fumei is on a distinguished road
Instead of "AND", you can use a semicolon (:) to seperate statements on the same line of a single line IF-THEN statement (didn't know that until a minute ago). Example:
If Combo.Text = 1 Then statement1: statement2
Kaja Fumei is offline   Reply With Quote