Skip to content

Latest commit

 

History

History
54 lines (34 loc) · 1.2 KB

Word.SynonymInfo.MeaningList.md

File metadata and controls

54 lines (34 loc) · 1.2 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
SynonymInfo.MeaningList property (Word)
vbawd10.chm161153028
vbawd10.chm161153028
Word.SynonymInfo.MeaningList
43eec397-41e6-7b13-f267-ae3b4914ec02
06/08/2017
medium

SynonymInfo.MeaningList property (Word)

Returns the list of meanings for the word or phrase. The list is returned as an array of strings. Read-only Variant.

Syntax

expression. MeaningList

expression An expression that returns a 'SynonymInfo' object.

Remarks

The lists of related words, related expressions, and antonyms aren't counted as entries in the list of meanings.

Example

This example checks to see whether any meanings were found for the third word in MyDoc.doc. If so, the meanings are displayed in a series of message boxes.

Set mySyn = Documents("MyDoc.doc").Words(3).SynonymInfo 
If mySyn.MeaningCount <> 0 Then 
 myList = mySyn.MeaningList 
 For i = 1 To UBound(myList) 
 Msgbox myList(i) 
 Next i 
Else 
 Msgbox "There were no meanings found." 
End If

See also

SynonymInfo Object

[!includeSupport and feedback]