I have created a custom tab in 2010 for a specific report in XML.
Some buttons in the tab do not display when the form is open but when I open the database by holding down the Shift key, all buttons show up.
Below is the XML for the custom tab - only the Exit button is displayed but not the Export to Excel and Print Menu button when the database is opened normally.
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon startFromScratch="true">
<tabs>
<tab id="dbCustomTab" label="Report Tab" visible="true">
<group id="dbCustomGroup" label="Report Group">
<control idMso="ExportExcel" label="Export to Excel" enabled="true"/>
<control idMso="FilePrintMenu" label="Print Menu" enabled="true"/>
<control idMso="FileExit" label="Exit" enabled="true"/>
</group>
</tab>
</tabs>
</ribbon>
</customUI>
I also tried to code the buttons as commands but it still does not work.
e.g. <commands>
<command idMso="ExportExcel" enabled="true"/>
</commands>
Does any expert out there be able to help resolving this issue?
Some buttons in the tab do not display when the form is open but when I open the database by holding down the Shift key, all buttons show up.
Below is the XML for the custom tab - only the Exit button is displayed but not the Export to Excel and Print Menu button when the database is opened normally.
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon startFromScratch="true">
<tabs>
<tab id="dbCustomTab" label="Report Tab" visible="true">
<group id="dbCustomGroup" label="Report Group">
<control idMso="ExportExcel" label="Export to Excel" enabled="true"/>
<control idMso="FilePrintMenu" label="Print Menu" enabled="true"/>
<control idMso="FileExit" label="Exit" enabled="true"/>
</group>
</tab>
</tabs>
</ribbon>
</customUI>
I also tried to code the buttons as commands but it still does not work.
e.g. <commands>
<command idMso="ExportExcel" enabled="true"/>
</commands>
Does any expert out there be able to help resolving this issue?