DropDown Property
Applies To
FormField object.
Description
Returns a DropDown object that represents a drop-down form field. Read-only.
Remarks
If the DropDown property is applied to a FormField object that isn't a drop-down form field, the property won't fail, but the Valid property for the returned object will be False.
See Also
CheckBox property, ListEntries property, TextInput property, Value property.
Example
This example displays the text of the item selected in the drop-down form field named "Colors."
Set myDrop = ActiveDocument.FormFields("Colors").DropDown
MsgBox myDrop.ListEntries(myDrop.Value).Name
This example adds "Seattle" to the drop-down form field named "Places" in Form.doc.
With Documents("Form.doc").FormFields("Places").DropDown.ListEntries
.Add Name:="Seattle"
End With