SetDefaultTabOrder Method

Applies To

Frame control, Page object, UserForm object.

Description

Sets the TabIndex property of each control on a form, using a default top-to-bottom, left-to-right tab order.

Syntax

object.SetDefaultTabOrder

The SetDefaultTabOrder method syntax has these parts:

Part

Description

object

Required. A valid object.


Remarks

Microsoft Forms sets the tab order beginning with controls in the upper left corner of the form and moving to the right. It places controls closest to the left edge of the form earlier in the tab order. If more than one control is the same distance from the left edge of the form, tab order values are assigned from top to bottom.

See Also

TabIndex property.