Filesearch with disregard of Case

  • Thread starter Thread starter Michael Singmin
  • Start date Start date
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
 
Michael,
You code functions correctly for me. What is the value of .FoundFiles.Count
that is returned ?

NickHK
 
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 >
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top