Does the VBA “And” operator evaluate the second argument when the first is false?

What you are looking for is called “short-circuit evaluation“.

VBA doesn’t have it.

You can see an approach that is probably adaptable to your situation here.

The approach that was chosen there involved substituting a Select Case for the If. There is also an example of using nested Ifs.

Leave a Comment