Filesearch with disregard of Case

M

Michael Singmin

Hello group,

I am using Application.Filsearch to look for text
I want the Filesearch not to look at Case.
So Cat, cAT and caT will be found if .TextOrProperty = "Cat"
I have set .MatchTextExactly = False

But something is still not right because only Cat is found.

Any insights ?

Michael Singmin
 
N

NickHK

Michael,
You code functions correctly for me. What is the value of .FoundFiles.Count
that is returned ?

NickHK
 
K

keepITcool

please note that
matchtextexactly

is NOT releated to the filenames but to the search of filecontents

from help:

MatchTextExactly Property
See Also Applies To Example Specifics
Some of the content in this topic may not be applicable to some
languages.

True if the specified file search will find only files whose body text
or file properties contain the exact word or phrase that you've
specified. Read/write Boolean.



keepITcool

< email : keepitcool chello nl (with @ and .) >
< homepage: http://members.chello.nl/keepitcool >
 
Top