You said you had an issue using strComp with binary compare.
Here's a sample
Code:
Sub testcompB()
'"Trade" and "trade"
Dim a As String: a = "Trade"
Dim b As String: b = "trade"
If StrComp(a, b, vbBinaryCompare) = 0 Then
Debug.Print "a(" & a & ") and b(" & b & ") are same value and case"
Else
Debug.Print "a(" & a & ") and b(" & b & ") are different either value or case"
End If
End Sub
Sample outputs with changes to a, b.
Code:
a(Trade) and b(trade) are different either value or case
a(Trade) and b(Trade) are same value and case
a(Black) and b(trade) are different either value or case
a(traDe) and b(trade) are different either value or case
A question re your processes:
If field values are manually inputted, how do you check that variations such as Trade/trade are not simply keying/typos?