RibbonCustomizer™
Customize your Office 2007 Ribbon (Office Fluent™)with only a few mouse clicks! Works with Microsoft® Access™, Excel®, Outlook®, PowerPoint® and Word 2007.

Buy for $29.99

Download free Starter Edition

Subscribe | Subscribe by Email |

Categories

Archive


Starting with RibbonX

January 2nd, 2007 by Patrick Schmid

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:

  1. RibbonX code
  2. Loading the RibbonX code into an Office application
  3. 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.

3 Responses to “Starting with RibbonX”

  1. victor Says:

    thank you for the helpful info

  2. Ilya Birman Says:

    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?

  3. Ken Puls Says:

    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