|Try the UCase function.|
I don't do much with Word macros, but in Excel I would use something like:
If UCase(myWord) = "ZOO" then myCount = myCount + 1
Within VBA only (not in the document) UCase will convert all the lowercase letters in the variable myWord to uppercase and then compare the string to ZOO which is already uppercase.
UCase("zoo") = "ZOO"
UCase("ZOO") = "ZOO"
Ucase("Zoo") = "ZOO"
Click Here Before Posting Data or VBA Code ---> How To Post Data or Code.