Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 786 Bytes

Excel.ControlFormat.RemoveAllItems.md

File metadata and controls

37 lines (22 loc) · 786 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
ControlFormat.RemoveAllItems method (Excel)
vbaxl10.chm630074
vbaxl10.chm630074
Excel.ControlFormat.RemoveAllItems
de8e1721-45e1-eca9-d35d-7d72c32dc0bf
04/23/2019
medium

ControlFormat.RemoveAllItems method (Excel)

Removes all entries from a Microsoft Excel list box or combo box.

Syntax

expression.RemoveAllItems

expression A variable that represents a ControlFormat object.

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

[!includeSupport and feedback]