MatchFuzzy Property

Microsoft Word Visual Basic

expression.MatchFuzzy

expression    Required. An expression that returns a Find object.

Example

This example conducts a nonspecific search for "pianopianopiano" in the selected range and selects the next occurrence (for example, "piyanopiyanopiyano").

With Selection.Find
    .ClearFormatting
    .Text = "pianopianopiano"
    .MatchFuzzy = True
    .Execute Format:=False, Forward:=True, Wrap:=wdFindContinue
End With