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

Some of the content in this topic may not be applicable to some languages.

Syntax

expression.MatchAllWordForms

expression A variable that represents a FileSearch object.

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.

Visual Basic for Applications
With Application.FileSearch .NewSearch .LookIn = "C:\My Documents" .SearchSubFolders = True .TextOrProperty = "run" .MatchAllWordForms = True .FileType = msoFileTypeAllFiles End With

See also: