Is there a way in VBA for Excel to make uppercase letters equivalent to lowercase ones
Otherwise, comparing strings of the same letters but different capitalization results in no match
Thanks,
Antonio
Is there a way in VBA for Excel to make uppercase letters equivalent to lowercase ones
Otherwise, comparing strings of the same letters but different capitalization results in no match
Thanks,
Antonio
uppercase and lowercase letters made equivalent
aLee89
Hi Derek, thank you for your clarification. I suspected that.
To apply your suggestion I guess that the UCase function is probably the best way to go.
Regards,
Antonio
Support
sohman
no, character's A and a have completely different ASCII code/Unicode values. The compare method generally has a parameter to ignore case but VBA doesn't have that option. All I can suggest is create uppercase or lowercase copies of the string and compare the copies rather than the originals.