How to suppress printing and cancel message?

H

homer

Is there a way to suppress the popup messages after the DoCmd.SendObject or
DoCmd.PrintOut is called?
More importantly, I also want to suppress the message (The printout action
was canceled) when the cancel is called.
Thanks!
 
V

Van T. Dinh

Use error-trapping code to trap and ignore error 2501 (IIRC. Check the
error no in your current code).
 

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