When you call comparison functions, you can use the CompareMethod enumeration in your code in place of the actual values.
The Compare argument takes the following ComapreMethod enumeration members:
| Member | Constant | Description |
|---|---|---|
| Binary | vbBinaryCompare | Performs a binary comparison. |
| Text | vbTextCompare | Performs a textual comparison. |