Muokkaa

Jaa


Comparison constants

The following constants are defined in the Visual Basic for Applications type library and can be used anywhere in your code in place of the actual values.

Constant Value Description
vbUseCompareOption -1 Performs a comparison by using the setting of the Option Compare statement.
vbBinaryCompare 0 Performs a binary comparison.
vbTextCompare 1 Performs a textual comparison.
vbDatabaseCompare 2 For Microsoft Access (Windows only), performs a comparison based on information contained in your database.

See also

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.