VBA Comparison Operators
Comparison operators compare two numbers or strings and return a logical (True or False) result. The main Excel VBA comparison operators are listed in the table below:
Operator | Action |
= | Equal To |
< > | Not Equal To |
< | Less Than |
> | Greater Than |
<= | Less Than or Equal To |
>= | Greater Than or Equal To |
references:
http://www.excelfunctions.net/VBA-Operators-And-Functions.html