Not that the third statement was wrong.. ;\)

If Not (Test_A Or Test_B)
is equivalent to
If Not Test_A And Not Test_B

In the first, if either test returns a true value, the entire expression in the parens is true, which is negated by the Not, and the If fails.. If both are false, the statement is false, which satisfies the If and the process is evaluated.

In the second, if Test_A is false AND Test_B is false, both If statements succeed and the process is evaluated.

Either way, same result. It really comes down to how you're thinking, and what seems most clear to others that must read your code.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D