Find.MatchSoundsLike property (Word)

True if words that sound similar to the text to find are returned by the find operation. Read/write Boolean.

Syntax

expression. MatchSoundsLike

expression An expression that returns a 'Find' object.

Remarks

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.

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" 
 .MatchFuzzy = False 
 .MatchSoundsLike = True 
 .Execute Format:=False, Forward:=True, Wrap:=wdFindContinue 
End With

See also

Find Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.