Print dialog box

G

Guest

Hello

OS: Windows XP
App: Access XP

Any VBA code to display the Print dialog box would be much appreciated. I
use dialogs() in Word.

Regards
Mike
 
G

Guest

Try the following code

DoCmd.OpenReport "The_Name_of_Your_Report", acViewPreview
DoCmd.RunCommand acCmdPrint

This opens the dialog box prior to printing

hth

Mike B
 

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