Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Range.SynonymInfo Property (Word)

Returns a SynonymInfo object that contains information from the thesaurus on synonyms, antonyms, or related words and expressions for the contents of a range.

expression .SynonymInfo

expression Required. A variable that represents a Range object.

This example returns a list of synonyms for the selection's first meaning.

Slist = Selection.Range.SynonymInfo.SynonymList(Meaning:=1) 
For i = 1 To UBound(Slist) 
 Msgbox Slist(i) 
Next i
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.