XML Custom Ribbon Not Appearing On Reports

sherlocked

Registered User.
Local time
Yesterday, 18:36
Joined
Sep 22, 2014
Messages
125
Experts,

Below is an XML ribbon I'm attempting to use for reports in my database. I have already selected this ribbon in the settings for each report. The reports are opening in an On_Click event in acViewReport, acDialog mode.

For some reason, this ribbon is not appearing when I open reports. Is there anything that leaps out at you as incorrect? I am a total beginner with XML Custom UI Ribbons.

Appreciate any assistance you can provide! Thanks :)

Code:
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"
    onLoad="OnRibbonLoad" loadImage="LoadImages">
       <ribbon startFromScratch="false">
          <officeMenu>
            <button idMso="FileOpenDatabase" visible="false" />
            <button idMso="FileNewDatabase" visible="false" />
            <splitButton idMso="FileSaveAsMenuAccess" visible="false" />
            </officeMenu>
	<tabs>
     <tab id="MyReport" label="Report Print and View Options">
        <group idMso="GroupPrintPreviewPrintAccess" />
        <group idMso="GroupPageLayoutAccess" />
        <group idMso="GroupZoom" />
        <group idMso="GroupSortAndFilter" />
        <group id="ListCommands" label="Print">
           <button idMso="FilePrintQuick" keytip="q" size="large"/>
           <button idMso="PrintDialogAccess"
                   label="Print Dialog"
                   keytip="d" size="large"/>
        <group id="Close" keytip="x" label="Close">
           <button idMso="PrintPreviewClose"  size="large"/>
           <button idMso="WindowClose" size="large" visible="true" />
           <button idMso="MasterViewClose" size="large" visible="true" />
        </group>
       </tab>
    </tabs>
  </ribbon>
</customUI>
 

Users who are viewing this thread

Back
Top Bottom