Starting with RibbonX
If you haven’t read my conceptual overview of the Office 2007 UI Customization Model, now would be a very good time to do so. As explained in that overview, customizing the Office 2007 UI requires three distinct steps:
- RibbonX code
- Loading the RibbonX code into an Office application
- Optionally handling callbacks
The RibbonX code is rather similar for all Office applications and independent of the way it is loaded into an Office application. Discussions of RibbonX itself are therefore normally applicable to all five ribbon programs and all ways of loading RibbonX and handling callbacks.
Loading and handling callbacks though is very application-specific and mechanism-specific. The following will give you an overview of how RibbonX can be loaded into which Office applications.
Access
- Managed .NET shared add-in (e.g. written in VB.NET or C#)
- Unmanaged COM add-in (e.g. written in VB6)
- VBA/database table
Excel, PowerPoint & Word
- Embedded into OpenXML files (files in the 2007 file formats). This is the only way the Ribbon can be customized in conjunction with VBA
- Managed .NET shared add-in (e.g. written in VB.NET or C#)
- Managed VSTO 2005 SE add-in
- Unmanaged COM add-in (e.g. written in VB6)
Outlook
- Managed .NET shared add-in (e.g. written in VB.NET or C#)
- Managed VSTO 2005 SE add-in
- Unmanaged COM add-in (e.g. written in VB6)
The list is not complete as third-party applications, e.g. my RibbonCustomizer add-in, might also provide RibbonX loading capabilities. As you can see from the list though, loading RibbonX into an Office application might be a bigger hurdle for a lot of people than actually writing RibbonX.

January 3rd, 2007 at 21:52
thank you for the helpful info
January 4th, 2007 at 16:59
I just want to add two buttons to the main or view tab in my Ribbon: hide grammar errors and hide spelling errors. In 2003 office they were available from a small icon in the status bar; in 2007 I just can’t find them. Adding these two checkboxes to the top toolbar makes it so long that document title doesn’t fit into the window title.
I’m so tired reading MSDN and other resources about how to write an xml file, and none of them say how to LOAD the file into Word
Can you please help?
January 6th, 2007 at 16:43
Hi Ilya,
The best thing to do would be to register at Patrick’s forum and ask the question there.
http://pschmid.net/office2007/forums/index.php