DropDown.ListEntries Property
Word Developer Reference |
Returns a ListEntries collection that represents all the items in a DropDown object.
Syntax
expression.ListEntries
expression An expression that returns a DropDown object.
Remarks
For information about returning a single member of a collection, see Returning an Object from a Collection.
Example
This example retrieves the text of the active item from the drop-down form field named "DropDown1."
Visual Basic for Applications |
---|
|
This example retrieves the total number of items in the active drop-down form field (the document should be protected for forms). If there are two or more items, this example sets the second item as the active item.
Visual Basic for Applications |
---|
|
See Also