Udostępnij za pośrednictwem


How to: Change the Order of Tabs on the Ribbon

Applies to

The information in this topic applies only to the specified Visual Studio Tools for Office projects and versions of Microsoft Office.

Project type

  • Document-level projects

  • Application-level projects

Microsoft Office version

  • Excel 2007

  • Word 2007

  • Outlook 2007

  • PowerPoint 2007

For more information, see Features Available by Application and Project Type.

You can change the order of tabs on a Ribbon by using the Tab Collection Editor.

To change the order of tabs on the Ribbon

  1. Select the Ribbon code file (.vb or .cs file) in Solution Explorer.

  2. On the View menu, click Designer.

  3. Right-click the Ribbon Designer, and then click Properties.

  4. In the Properties window, select the Tabs property, and then click the ellipsis button (ASP.NET Mobile Designer ellipse).

    The Tab Collection Editor appears.

  5. In the Tab Collection Editor, in the Members list, select the tab you want to move and click the up or down arrows to change the tab order.

    For more information about how to use Collection Editor dialog boxes, see Collection Editor Dialog Box.

See Also

Tasks

Walkthrough: Creating a Custom Tab by Using the Ribbon Designer

Walkthrough: Creating a Custom Tab by Using Ribbon XML

Concepts

Ribbon Overview

Ribbon Designer

Ribbon XML