RemoveAllItems Method Example

This example removes all items from a list box. If Shapes(2) doesn’t represent a list box, this example fails.

Worksheets(1).Shapes(2).ControlFormat.RemoveAllItems