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).
 
Top