aziz rasul
Active member
- Local time
- Today, 09:53
- Joined
- Jun 26, 2000
- Messages
- 1,935
Can anyone tell me why the following code doesn't work?
Option Compare Text
Dim string1 as Variant
string1 = StrComp("ABC", "abc", -1)
If I use string1 = StrComp("ABC", "abc", vbUseCompareOption)
then it's OK. However according to online help, vbUseCompareOption is the same as -1.
Option Compare Text
Dim string1 as Variant
string1 = StrComp("ABC", "abc", -1)
If I use string1 = StrComp("ABC", "abc", vbUseCompareOption)
then it's OK. However according to online help, vbUseCompareOption is the same as -1.