Print dialogue box? Chosing Printer

fraser_lindsay

Access wannabe
Local time
Today, 15:55
Joined
Sep 7, 2005
Messages
218
Hello,

Is it possible to get Access to open the print dialogue box instead of printing direct to the default printer when using the print command from a button?

Thanks
 
Code:
DoCmd.RunCommand acCmdPrint
You need to trap for the runtime error # 2501 incase the user clicks the cancel button.
 
Thanks very much.

Sorry, I didn't realise I had double posted. I tried to stop my first message, thought I had.
 
How I can avoid run time error when cancel the Print dialogue box?
 

Users who are viewing this thread

Back
Top Bottom