You are here:   Home > Access - Ribbons > Ribbon XML / Controls

Ribbon XML / Controls

Each ribbon XML starts with the line (Office 2007):

<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">

In case you want to define a Ribbon exclusively for Office 2010 the namespace will be:

<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">

then:

   
<ribbon startFromScratch="true">

startFromScratch can be "true" or "false".
 

"true" defines following functionality:

    • Hide all built-in tabs including the Add-Ins tab.
    • Office Menu only shows "New", "Open", "Save As", "Close Database" as well as buttons "Access-Options" and "Quit Access " (Access 2007 only).  (see Description).

      In case there was user-defined Ribbon XML for the Office menu in Access 2007 the Ribbon definition will be ignored in Access 2010, because the legacy Office menu is not available anymore.
      You can also remove these entries from Office 2007 menu (see Description). For Office 2010 there is a new navigation concept (Backstage View).

 

 "false" defines following functionality:

    • All existing Access ribbons will be shown.
    • The full Office menu will be shown.
    • Tabs of user-defined ribbons will be shown after the built-in ribbons.

 

Next line:


      <tabs>

 

From here you can place your XLM code for tabs, groups and controls, each section followed by endtags.

 

      </tabs>
   </ribbon
>
</customUI
>


Complete XML file:

<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
   <ribbon startFromScratch="false">
      <tabs>
         <!-- place your XML code here -->
      </tabs>
   </ribbon>
</customUI>



Complete XML file compatible with Office 2010 only:

<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
   <ribbon startFromScratch="false">
      <tabs>
         <!-- place your XML code here -->
      </tabs>
   </ribbon>
</customUI>

 

 

Submenu

Last Updates:

15.03.2014
Update Site "User Defined Icons / Pictures In Ribbon Controls" ...


12.02.2014
Update FAQ ...

19.01.2013
Update Downloads for "Trusted Locations" - Versions for Office 2013 ...

29.08.2012
Revised versions for IDBE RibbonCreator2010 (Version 1.1014a) ...

 

Last update:
March 15, 2014, 13:45