SynonymInfo.Word Property
| Word Developer Reference |
Syntax
expression.Word
expression An expression that returns a SynonymInfo object.
Remarks
The thesaurus will sometimes look up a shortened version of the string or range used to return the SynonymInfo object. The Word property allows you to see the exact string that was used.
Example
This example returns a list of synonyms for the first meaning of the third word in the active document.
| Visual Basic for Applications |
|---|
|
This example checks to make sure that the word or phrase that was looked up isn't empty. If it is not, the example returns a list of synonyms for the first meaning of the word or phrase.
| Visual Basic for Applications |
|---|
|