Chapter 29: Customizing Access Ribbons
1033
FIGURE 29.20
Specifying the new custom ribbon in the Current Database options dialog box
The Basic Ribbon XML
Take a closer look at the basic XML required by Access ribbons. The following XML represents a
prototype ribbon (line numbers have been added to make the discussion following this XML easier
to understand):
1 <?xml version=“1.0” encoding=“utf-8”?>
2 <!-- This is a comment in the ribbon’s XML -->
3 <customUI xmlns=“http://schemas.microsoft.com/office
/2006/01/customui” onLoad=“onRibbonLoad”>
4 <ribbon startFromScratch=“true”>
5 <tabs>
6 <tab id=“tab1” ...
7 <group id=“group1” ... >
8 ... Controls go here ...
9 </group>
10 </tab>
11 <tab id=“tab2” ...
12 <group id=“group2” ... >
13 ... Controls go here ...
14 </group>