ListBox Object (Outlook Forms Script)
Displays a list of values and lets you select one or more.
If the ListBox is bound to a data source, the ListBox stores the selected value in that data source.
The default property for a ListBox is the Value property.
The default event for a ListBox is the Click event.
You can't drop text into a drop-down ListBox.
You can choose between two presentation styles for a ListBox. This is expressed by the ListStyle property. Each style provides different ways for users to select items in the list.
If the style is 0, each item is on a separate row; the user selects an item by highlighting one or more rows.
If the style is 1, an OptionButton or CheckBox appears at the beginning of each row. With this style, the user selects an item by clicking the option button or check box. Check boxes appear only when the MultiSelect property is True.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.