ContentControlListEntry.MoveDown method (Word)
Moves an item in a drop-down list or combo box content control down one item, so that it is after the item that originally followed it.
Syntax
expression. MoveDown
expression An expression that returns a ContentControlListEntry object.
Example
The following example moves the first item down, so that it becomes the last item in the list of items in a drop-down list or combo box content control.
Dim objCC As ContentControl
Dim objCL As ContentControlListEntry
Dim intCount As Integer
Set objCC = ActiveDocument.ContentControls.Item(3)
If objCC.Type = wdContentControlComboBox Or _
objCC.Type = wdContentControlDropdownList Then
Set objCL = objCC.DropdownListEntries.Item(1)
For intCount = 1 To objCC.DropdownListEntries.Count
objCL.MoveDown
Next
End If
See also
ContentControlListEntry 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.