vba ignore caps code example
Example 1: vba ignore case
Option Compare Text
Option Compare Binary
Debug.Print StrComp(string1, string2, vbUseCompareOption)
Debug.Print StrComp(string1, string2, vbBinaryCompare)
Debug.Print StrComp(string1, string2, vbTextCompare)
Example 2: vba Remove Case Sensitivity
Option Compare Text
Option Compare Binary
debug.print StrComp(string1, string2, vbUseCompareOption)
debug.print StrComp(string1, string2, vbBinaryCompare)
debug.print StrComp(string1, string2, vbTextCompare)