ComboBox.ColumnCount Property (Outlook Forms Script)

Returns or sets a Long that represents the number of columns to display in a combo box. Read/write.

Syntax

expression.ColumnCount

expression A variable that represents a ComboBox object.

Remarks

Setting ColumnCount to 0 displays zero columns, and setting it to -1 displays all the available columns. For an unbound data source, there is a 10-column limit (0 to 9).

You can use the ColumnWidths property to set the width of the columns displayed in the control.

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.