ListWidth property

Specifies the width of the list in a ComboBox.

Syntax

object.ListWidth [= Variant ]

The ListWidth property syntax has these parts:

Part Description
object Required. A valid object.
Variant Optional. The width of the list. A value of zero makes the list as wide as the ComboBox. The default value is to make the list as wide as the text portion of the control.

Remarks

If you want to display a multicolumn list, enter a value that will make the list box wide enough to fit all the columns.

See also

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.