MatchSoundsLike Property

Applies To

Find object.

Description

True if words that sound similar to the text to find are found by the find operation. 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 located in a document.

See Also

Execute method (Find object), Text property.

Example

This example selects the next word that sounds like the word "fun" (for instance, "funny") in the selection.

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