Clear Method

Clear Method

See Also         Example         Applies To         Specifics

Removes all list items from a command bar combo box control (drop-down list box or combo box) and clears the text box (edit box or combo box).

Note   This method will fail if it's applied to a built-in command bar control.

Syntax

expression.Clear

expression   Required. An expression that returns a CommandBarComboBox object.