LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ed Ed is offline
external usenet poster
 
Posts: 399
Default FileSearch to find partial words?

I have the following code in a workbook that does a text search through a
folder of Word documents:

With Application.FileSearch
.NewSearch
.LookIn = strLocation
.SearchSubFolders = False
.TextOrProperty = strSearchFor
.MatchAllWordForms = True
.Filename = strName & "*.doc"
.Execute

The code works fine - except it won't find part of a word. For instance, I
can't use "brak" (as strSearchFor) to find "brake", "brakes", and "braking".
I had hoped the MatchAllWordForms setting would do it, but no such luck.

Note: Mswds_en.lex is installed, but I have no idea if it's registered (as
per MatchAllWordForms Help topic.) How would I check and rectify in need
be?

Ed


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Find partial match from column A,B and fill partial match in C? Tacrier Excel Discussion (Misc queries) 4 October 24th 08 11:24 PM
Find partial cell format icq_giggles Excel Discussion (Misc queries) 7 July 21st 07 12:02 AM
FileSearch.Execute does not find *.eml or *.lnk files RosH Excel Programming 3 December 8th 05 08:30 AM
find partial values in cell Luke Excel Worksheet Functions 1 September 18th 05 03:46 PM
FileSearch doesn't find zip files Hub van de Laar Excel Programming 3 September 1st 03 07:43 PM


All times are GMT +1. The time now is 08:51 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"