Access 2007-Create Custom Menu

T

Trini Gal

Hello,

I've been searching all day and is still unable to find what I'm looking
for. I was upgraded to 2007 and have converted my Access 2003 database. I
figured out how to customize (using XML, go me) the Ribbon to only display
the tools I want the users to use, but for the life of me, I can't seem to
figure out how to add a menu to it. For example, I want to have a menu that
lists a bunch of reports.

This is the code for my Ribbon:

<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon startFromScratch="true">
<tabs>
<tab id="dbCustomTab" label="Tool Tab" visible="true">
<group id="dbCustomGroup" label="Group 1">
<control idMso="ExportExcel" label="Export To Excel"
enabled="true"/>
<control idMso="ExportTextFile" label="Export To Text"
enabled="true"/>
<control idMso="PublishToPdfOrEdoc" label="Export To PDF"
enabled="true"/>
</group>
<group id="dbCustomGroup2" label="Group 2">
<control idMso="FilePrintQuick" label="Print" enabled="true"/>
<control idMso="FilePrintPreview" label="Print Preview"
enabled="true"/>
</group>
<group id="dbCustomGroup3" label="Group 3">
<control idMso="PrintPreviewClose" label="Close" enabled="true"/>
<control idMso="FileExit" label="Exit Database" enabled="true"/>
</group>
</tab>
</tabs>
</ribbon>
</customUI>

If someone can point me in the right direction I would greatly appreciate
it. Thanks in advance for your time.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top