ComboBox.TopIndex Property (Outlook Forms Script)

Returns or sets a Long that represents the index of the item displayed in the topmost position in the list portion of the ComboBox. Read/write.

Syntax

expression.TopIndex

expression A variable that represents a ComboBox object.

Remarks

The default is 0, which identifies the first item in the list.

Returns the value -1 if the list is empty or not displayed.

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.