Print Command from a menu or tool bar

A

Alex Martinez

Hello,

I included a custom file menu and a toolbar with the print command, my
problem is that if I use Access standard menu "File-Print" I get the
printer dialog box, but I can't get that with my custom file or tool bar
menu it will just print without asking what printer to use when pressed. I
can go into my custom menu and go to page set-up and change the pritner, but
I want the printer dialog box. Any tips will be appreciated. Thank you.
 
G

Guest

To bring the print setup dialog box up, use the following code

DoCmd.DoMenuItem 1, 0, 10
 

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