Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Applies to

TabControl Collection

You can use the MultiRow property to specify or determine whether a tab control can display more than one row of tabs. Read/write Boolean.

expression.MultiRow

expression Required. An expression that returns one of the objects in the Applies To list.

Remarks

The MultiRow property uses the following settings.

Setting

Visual Basic

Description

Yes

True

Multiple rows are allowed.

No

False

(Default) Multiple rows aren't allowed.


Note: You can set the MultiRow property by using the control's property sheet, a macro, or Visual Basic for Applications (VBA) code.

You can also set the default for this property by using a control's default control style or the DefaultControl property in VBA code.

When the MultiRow property is set to True, the number of rows is determined by the width and number of tabs. The number of rows may change if the control is resized or if additional tabs are added to the control.

When the MultiRow property is set to False and the width of the tabs exceeds the width of the control, navigation buttons appear on the right side of the tab control. You can use the navigation buttons to scroll through all the tabs on the tab control.

Example

To return the value of the MultiRow property for a tab control named "Details" on the "Order Entry" form, you can use the following:

Dim b As Boolean
b = Forms("Order Entry").Controls("Details").MultiRow

To set the value of the MultiRow property, you can use the following:

Forms("Order Entry").Controls("Details").MultiRow = True

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×