StrICmp
function StrICmp(s1 As String, s2 As String) As Integer
Compares the strings s1 and s2 for equality. The comparison is case insensitive.
Parameters
Return values
Example:
If StrICmp(s1, s2) > 0 Then
'do something
End If