Tab.Index Property (Outlook Forms Script)

Returns or sets an Integer that specifies the position of a Tab object within a Tabs collection. Read/write.

Syntax

expression.Index

expression A variable that represents a Tab object.

Remarks

The Index property specifies the order in which tabs appear. Changing the value of Index visually changes the order of tabs on a TabStrip. The index value for the first tab is zero, the index value of the second tab is one, and so on.

In a MultiPage, Index refers to a Page as well as the page's Tab. In a TabStrip, Index refers to the tab only.

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.