Problem Dispaying Print Button On Custom Ribbon In Access

F

FlyGuy

I am using a custom ribbon in a simple Access 2007 app.

The XML in table USysRibbons is ...

<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon startFromScratch="true">
<officeMenu>
<button idMso="FilePrintQuick"/>
<button idMso="FileCloseDatabase" visible="false"/>
<button idMso="FileOpenDatabase" visible="false"/>
<button idMso="FileNewDatabase" visible="false"/>
<splitButton idMso="FileSaveAsMenuAccess" visible="false" />
</officeMenu>
<tabs>
<tab id="tabMain" label="Filtering">
<group idMso="GroupSortAndFilter"></group>
</tab>
</tabs>
</ribbon>
</customUI>

I am currently displaying the FilePrintQuick button, but I want to display
the regular [full choices] Print button; but I cannot figure out how to do
this.

My research indicated that this Office Menu button should is called(?)
FilePrintMenu but calling it by idMso="FilePrintMenu" never displays it.

I must be doing something wrong in the XML, but cannot figure out what.

Any insight would be greatly appreciated.

The app is distributed with Access 2007 runtime. Not using the custom
ribbon shows the full Print button, but I need to show a custom button set.
 
F

FlyGuy

OK, right after I posted the question, I found an answer that works ...

<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon startFromScratch="true">
<officeMenu>
<button idMso="FilePrintQuick"/>
<button idMso="FileCloseDatabase" visible="false"/>
<button idMso="FileOpenDatabase" visible="false"/>
<button idMso="FileNewDatabase" visible="false"/>
<splitButton idMso="FileSaveAsMenuAccess" visible="false" />
</officeMenu>
<tabs>
<tab id="tabMain" label="User Actions">
<group idMso="GroupSortAndFilter"></group>
<group idMso="GroupPrintPreviewPrintAccess" />
</tab>
</tabs>
</ribbon>
</customUI>
 

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