MatchSoundsLike 属性

       

如果为 True,则查找操作返回与待查找文字发音相近的单词。Boolean 类型,可读写。

expression.MatchSoundsLike

expression  必需。该表达式返回一个 Find 对象。

说明

使用 Find 对象的 Text 属性或 Execute 方法的 FindText 参数来指定需要在文档中定位的文本。

示例

本示例选定所选内容中的下一个与“fun”发音相近的单词(如“funny”)。

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