vba add Case Sensitivity code example
Example: vba Remove Case Sensitivity
'Removes case sensitivity
Option Compare Text
'Adds case sensitivity
Option Compare Binary
'Compare
debug.print StrComp(string1, string2, vbUseCompareOption) 'with choosen option
debug.print StrComp(string1, string2, vbBinaryCompare) 'case sensitive
debug.print StrComp(string1, string2, vbTextCompare) 'case insensitive