ContentControlListEntries Collection
Word Developer Reference |
The ContentControlListEntries collection contains ContentControlListEntry objects that represent the items in a drop-down list or combo box content control.
Remarks
Use the Add method to add an item to a drop-down list or combo box. The following example uses the Add method to add several list items to a new drop-down list content control.
Visual Basic for Applications |
---|
|
Use the Item method or the DropdownListEntries property of a ContentControl object to access an individual list item within a collection. The following example uses the Item method to access the third item in a list and change the display text.
Note |
---|
This example assumes that the first ContentControl object in the active document is a drop-down list or combo box. |
Visual Basic for Applications |
---|
|
Use the Clear method to remove all items from a drop-down list or combo box. The following example clears all items from the first content control in the active document.
Note |
---|
This example assumes that the first content control in the active document is a drop-down list or combo box. |
Visual Basic for Applications |
---|
|
See Also