RemoveDropDownItem

Syntax

RemoveDropDownItem BookmarkName$, ItemText$

Remarks

Removes an item from a drop-down form field.

Argument

Explanation

BookmarkName$

The name of the bookmark that marks the drop-down form field. If you specify a bookmark that does not mark a drop-down form field, an error occurs.

ItemText$

The item to remove from the drop-down form field.


Example

This example removes three items from the drop-down form field marked by the bookmark "Dropdown1":


RemoveDropDownItem "Dropdown1", "Red"
RemoveDropDownItem "Dropdown1", "Blue"
RemoveDropDownItem "Dropdown1", "Green"

See Also

AddDropDownItem, DropDownFormField, RemoveAllDropDownItems