The OR operator also performs a bitwise comparison of iden-
tically positioned bits in two numeric expressions and sets the
corresponding bit inresult according to the following table:
Expression1Expression2Result
000
011
101
111
Comparison Operators
Following is a table that briefly describes the comparison
operators you will frequently be working with in VBA. Keep
in mind exactly how these operators work if you are using
them in If statements — you can encounter nasty logic prob-
lems simply by having a greater than or equal to when what
you really want is a greater than. You will notice that the table
contains a list of the comparison operators and ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.