Question Adding to the Print Preview Ribbon

George J

Registered User.
Local time
Today, 04:00
Joined
Dec 4, 2011
Messages
51
I found that when trying to export reports to excel, that some produced a subscript out of range error. I wrote a macro to do the exporting and this works.

Is there any way of getting my macro code into a button on the print preview ribbon? I want the users to be able to use my code when previewing rather than the default Access button's.
 
I think what you actually need to do is to just customise the ribbon. The customisation menus have options to add new buttons for macros. I have only done it once before, but I remember I got it working with ease. You could also try adding the button to the Quick Access toolbar above ribbon, that's nice and easy too (just click the little black arrow up there to add new things).
 

Users who are viewing this thread

Back
Top Bottom