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

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

Syntax

expression.MatchTextExactly

expression A variable that represents a FileSearch object.

Example
This example searches the C:\My Documents folder and returns all files that contain the word "Run" either in the body text or in the file properties.

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

See also: