Why I Want to Add a Print Icon to the Home Ribbon

  • Thread starter Thread starter John Lane
  • Start date Start date
J

John Lane

I have turned off the Navigation pane and everything but the Home pane. I
have some forms that display in datasheet view, and the Print icon does not
pop up as it does when a report is displayed in Print Preview mode - the only
thing showing is the teny-tiny Print icon on the Quick Access tool bar.
 
Hi John,
Create a custom ribbon that has just the things you need.

Here is the xml for a custom ribbon that has only the print button it.
Use the xml to create a custom ribbon for your app that has the print button
and whatever you want from the Home section of the standard ribbon.



<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"
onLoad="onRibbonLoad1">
<ribbon startFromScratch="true">
<tabs>
<tab id="tabIS" label="Reports Tab">

<group idMso = "GroupPrintPreviewPrintAccess" > </group>

</tab>
</tabs>
</ribbon>
</customUI>




Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia
 
Great! Thanks! Can the same routine be used to add it to the Home Ribbon?
 
Without knowing how you have set up your home ribbon, here goes.

If you have a custom ribbon for your app, you can add this part to it to
give you a print button.
You will see some similar xml for other groups on the home ribbon.

<group idMso = "GroupPrintPreviewPrintAccess" > </group>



Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia
 

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

Back
Top