Hi,
With "or" at least one of them must be true to get an over all result to be
true.
So if MyType ="DIV" then the first condition is false but the other two are
true then the true is executed.
--
JP
http://www.solutionsvba.com
"zsplash" wrote in message
...
I think I must not understand the "or" (and <) qualities of code, in an
If-Then statement.
Here's my code:
If MyType < "DIV" Or MyType < "UNM" Or MyType < "MOD" Then
blah, blah, blah
End If
When MyType = "DIV", the code progresses to the [blah, blah, blah]. My
little brain is trying to think that if MyType = "DIV", the code should
bypass the [blah, blah, blah].
Please enlighten me.
TIA