Evaluating both conditions at the same time inside an expression with an Or logical operator

Viewed 80

So, I have the following short code:

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    'More code here    

    If Target.Cells.Count > 1 Or Target = Empty Then
       Exit Sub
    End If

    'More code here.
End Sub

Instead of evaluating A and then B if the A part is false, it is evaluating both at the same time, which is something I don't recall vba doing before.

Sorry If my explanation is not good enough, english if not my native language. Be comprehensive and constructive, please. I had many bad experiences with comments here lately.

1 Answers
Related