TabIndex Property (Outlook Controls)

Returns or sets an Integer that specifies the position of a control in the form's tab order. Read/write.

Syntax

expression. TabIndex

expression A variable that represents an Outlook control object.

Remarks

The TabIndex is an integer from 0 to one less than the number of controls on the form that have a TabIndex property. Assigning a TabIndex value of less than 0 generates an error. If you assign a TabIndex value greater than the largest index value, the system resets the value to the maximum allowable value.

The index value of the first object in the tab order is zero.

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.