Thread
:
Does VBA shortcut "or" statements?
View Single Post
#
3
Posted to microsoft.public.excel.programming
Rick Rothstein \(MVP - VB\)[_1463_]
external usenet poster
Posts: 1
Does VBA shortcut "or" statements?
No... in expressions containing logical operators (And, Or, Xor, etc.),
VB
evaluates every sub-expression even if the first one's evaluation would be
enough to determine the expression's value as a whole.
Rick
wrote in message
...
Thanks.
***
Reply With Quote
Rick Rothstein \(MVP - VB\)[_1463_]
View Public Profile
Find all posts by Rick Rothstein \(MVP - VB\)[_1463_]