Example:
If condition or _
condition or _
condition or _
condition or _
condition or _
condition or _
condition or _
condition or _
condition or _
condition or Then
Do something
End If
Say I have more than these 10 conditions I need to evaluate… Is there a better way than just nesting multiple sets of these if statements?
Here’s an option — do one test at a time, tracking the final result in a boolean. When you’re all done, just test the boolean.
If any of A, B, C, or D is less than 10,
Resultwill flip toFalseand stay that way from then on. It will only beTrueif all of the tests pass.