Clear (Clipboard, ComboBox, ListBox)

This method clears the contents of a ListBox object, ComboBox object, or the system Clipboard object.

Syntax

object.Clear

Parameters

object
Reference to a ListBox, ComboBox, or Clipboard object. This method also applies to a CommandBarComboBox object.

Return Value

None.

Remarks

To remove a single item from a ListBox or ComboBox, use the RemoveItem method.