Share via


ListBox Control

This page is specific to the Visual Basic for Applications (VBA) Language Reference for Office 2010.

Displays a list of values and lets you select one or more.

Remarks

If the ListBox is bound to a data source, then the ListBox stores the selected value in that data source.

The ListBox can either appear as a list or as a group of OptionButton controls or CheckBox controls.

The default property for a ListBox is the Value property.

The default event for a ListBox is the Click event.

Note

You can't drop text into a drop-down ListBox.