Comparison operators in VBA : Comparison Operators « Language Basics « VBA / Excel / Access / Word






Comparison operators in VBA

 
Operator     Function
=            Tests for equality
<>           Tests for inequality
<            Less than
>            Greater than
<=           Less than or equal to
>=           Greater than or equal to

 








Related examples in the same category

1.If/Then/Else with Comparison operators
2.Select Case with Comparison operators
3.<> operator