I'm blanking on the proper syntax... If I have an IF statement in which I want to check multiple criteria, what's the best way to do it? Here's how I have it set up now:
What's an easier way to check for one of many conditions all at once?
Code:
IF me.lstbox.itemdata(i) = "Condition 1" or me.lstbox.itemdata(i) = "Condition 2" or me.lstbox.itemdata(i) = "Condition 3"Then
Do stuff
End If