Code:
Sub testboolean()
Dim B1 As Boolean, B2 As Boolean, B3 As Boolean
Dim BR As Boolean
BR = False
B1 = False
B2 = True
B3 = True
BR = B1 + B2 + B3
Debug.Print BR
BR = Not ((B1 + B2 + B3))
Debug.Print BR
BR = Not (BR)
Debug.Print BR
End Sub
This is some test code I wrote
The question is - How come the results are...
True
True
False
I would have expected
True
False
True
Why is "Not ((B1 + B2 + B3))" evaluated as true?