MatchAllWordForms Property

Applies To

Find object.

Description

True if all forms of the text to find are found by the find operation (for instance, if the text to find is "sit," "sat" and "sitting" are found as well). Read/write Boolean.

Note Use the Text property of the Find object or use the FindText argument with the Execute method to specify the text to be searched for in a document.

See Also

Execute method (Find object), Text property.

Example

This example selects the next form of the word "sit" found in the selection or displays a message box if a form of "sit" isn't found.

With Selection.Find
    .MatchAllWordForms = True
    .Text = "sit"
    .Execute Format:=False
    If .Found = False Then MsgBox "Not Found"
End With