ListEntries.Clear method (Word)

Removes all items from a drop-down form field.

Syntax

expression.Clear

expression A variable that represents a 'ListEntries' object.

Example

This example removes all items from the form field named "Colors" in Sales.doc.

Documents("Sales.doc").FormFields("Colors") _ 
 .DropDown.ListEntries.Clear

See also

ListEntries Collection Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.