I felt like this image explains it faster but below I have text.
Basically the code is
Code:
Dim Boo1, Boo2, Boo3, Boo4, Boo5 As Boolean
Boo1 = False
Boo2 = False
Boo3 = False
Boo4 = False
Boo5 = True
If Boo1 Or Boo2 Or Boo3 Or Boo4 And Not Boo5 then
Do something
End If
So it shouldn't be activating because Boo5 is true which should be cancelled out by the Not. At least that is my understanding and yet it still activates.
I can easily work around it by using a nested If statement but I want to know why it doesn't work.
Thanks in advance!