What, if anything, is the advantage of using
If StrComp(strVal1, strVal2, vbTextCompare) = 0 Then
as opposed to using
If strVal1 = strVal2 Then
If Option Compare Text is set at module level, is there a difference?
I know that StrComp processes null scripts and <> scripts, I am only interested in the situation where strVal1 and strVal2 have non-zero valid strings.
excel-vba string-comparison
Barry-jon
source share