I'm using Access 2007 and trying to customize a ribbon. I've looked up help on creating the USysRibbon table and even cut and pasted exact code into this table. The tab will show for ExportExcel but it is not enabled. I even created a brand new database with one table and one report. Is there an option somewhere else that has to be set to allow the user to export to excel? I added ExporttoWord and it works fine. Here's the xml code:
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon startFromScratch="true">
<tabs> <tab idMso="TabHomeAccess" visible="false"/>
<tab id="dbCustomTab" label="AAA" visible="true">
<group id="DS" label="DS">
<control idMso="PrintPreviewClose" label="Close" enabled="true" size ="large"/>
<control idMso="ExportExcel" label="Export to Excel" enabled="true" size ="large"/>
</group>
</tab>
</tabs>
</ribbon>
</customUI>
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon startFromScratch="true">
<tabs> <tab idMso="TabHomeAccess" visible="false"/>
<tab id="dbCustomTab" label="AAA" visible="true">
<group id="DS" label="DS">
<control idMso="PrintPreviewClose" label="Close" enabled="true" size ="large"/>
<control idMso="ExportExcel" label="Export to Excel" enabled="true" size ="large"/>
</group>
</tab>
</tabs>
</ribbon>
</customUI>