VBA Short-Circuit `And` Alternatives [duplicate]
问题 This question already has answers here : AndAlso/OrElse in VBA (7 answers) Closed 5 years ago . VBA doesn\'t short-circuit VBA does not support short-circuiting - apparently because it only has bitwise And/Or/Not etc operations. From the VBA language specification: \"Logical operators are simple data operators that perform bitwise computations on their operands.\" In this light, it makes sense that VBA was designed with true = &H1111 and false = &H0000 : this way logical statements can be