How to: Get Started Customizing 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
Microsoft Office version
For more information, see Features Available by Application and Project Type. |
To customize the Ribbon of a Microsoft Office application, add a Ribbon (Visual Designer) or Ribbon (XML) item to a Visual Studio Tools for Office project.
To add a Ribbon to a project
On the Project Menu, click Add New Item.
In the Add New Item dialog box, select Ribbon (Visual Designer) or Ribbon (XML). For more information about these templates, see Ribbon Overview.
In the Name box, type a name for the Ribbon item.
Names cannot contain the following characters:
Pound (#)
Percent (%)
Ampersand (&)
Asterisk (*)
Vertical bar (|)
Backslash (\)
Colon (:)
Double quotation mark (")
Less than (<)
Greater than (>)
Question mark (?)
Forward slash (/)
Leading or trailing spaces (' ')
Names reserved for Windows or DOS such as ("nul", "aux", "con", "com1", "lpt1", and so on)
Click OK.
The Ribbon item appears in Solution Explorer. For information about the next steps, see Ribbon Overview.
See Also
Tasks
Walkthrough: Creating a Custom Tab by Using the Ribbon Designer
Walkthrough: Creating a Custom Tab by Using Ribbon XML