MatchAllWordForms Property
Some of the content in this topic may not be applicable to some languages.
True if the file search is expanded to include all forms of the specified word contained in the body of the file, or in the file's properties. Read/write Boolean.
Remarks
This property is available only if the file Mswds_en.lex has been installed and registered. Note that this file isn't installed as part of a Typical setup.
Example
This example returns all files that contain the word "run," "running," "runs," or "ran" in the body of the file, or in the properties of the file. The TextOrProperty property sets the word to be matched, and limits the search to either the body of the file or the file properties.
With Application.FileSearch
.NewSearch
.LookIn = "C:\My Documents"
.SearchSubFolders = True
.TextOrProperty = "run"
.MatchAllWordForms = True
.FileType = msoFileTypeAllFiles
End With
Applies to | FileSearch Object
See Also | MatchTextExactly Property | NewSearch Method