CheckSynonyms Method

Applies To

Range object.

Description

Displays the Thesaurus dialog box (Language submenu, Tools menu), which lists alternative word choices, or synonyms, for the text in the specified range.

Syntax

expression.CheckSynonyms

expression Required. An expression that returns a Range object.

See Also

CheckSpelling method.

Example

This example displays the Thesaurus dialog box with synonyms for the selected text.

Selection.Range.CheckSynonyms
This example displays the Thesaurus dialog box with synonyms for the first word in the active document.

ActiveDocument.Words(1).CheckSynonyms