This option statement at the top of a module is used to force all comparisons to be done regardless of case.
To do the same test without Option Compare Text
This can be useful as the upper/lower case error is one of the most common errors you'll run into. On the downside your code could break if you copy it somewhere and don't include this statement. see also: |