View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Rick Rothstein \(MVP - VB\)[_1463_] Rick Rothstein \(MVP - VB\)[_1463_] is offline
external usenet poster
 
Posts: 1
Default 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.

***