Found the following in the Help section. Is this what you're looking for, a string comparison that checks for case as well.
StrComp
Returns an integer indicating the result of a string comparison. In other words, the function compares one string to another string and returns a value based on the results. The return values are based on one of the conditions indicated in the following table:
Condition Returned Value
string1 is less than string2 — 1
string1 is equal to string2 0
string1 is greater than string2 1
string1 or string2 is Null Null
Syntax: StrComp(string1, string2, compare)
Example
StrComp("ABCD", "abcd", 1) returns the value 0.
StrComp("ABCD", "abcd", 0) returns the value— 1.
**********************************************
Value Constant (for use in VBA code) Description
—1 = vbUseCompareOption
Performs a comparison using the setting of the Option Compare statement. Option Compare statements are used in Microsoft Visual Basic® modules to determine how strings are compared.
0 = vbBinaryCompare
Performs a binary (case-sensitive) comparison.
1 = vbTextCompare
Performs a textual (non-case-sensitive) comparison.
2 = vbDatabaseCompare
Performs a comparison based on information in your database. The comparison is based on the sort order for the locale specified by the regional settings in Microsoft Windows® Control Panel.
**********************************************