Suppress messages

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am printing many reports from code. How can I suppress the message box
that appears when each report prints? I have DoCmd.SetWarnings and
DoCmd.Echo set to False but there is still a pop-up message box as each
report prints.

Thanks,

David
 
Go to Tools, Option, Edit/Find and uncheck all of the boxes in the Confirm
area. This should do it.
 
Hi Wolf,

Per your suggestion I unchecked the three boxes but I still got the pop-up
message boxes. Could they be associated with the system or the printers
rather than Access?

Thanks,

David
 
Wolf,

Initially it says: "Now printing ReportName..." Then it changes to say
"Printing page PageNumber...". It flashes by pretty quick and it changes so
I don't have all the words but that is the way each box starts.

David
 
4110 said:
I am printing many reports from code. How can I suppress the message
box that appears when each report prints? I have DoCmd.SetWarnings
and DoCmd.Echo set to False but there is still a pop-up message box
as each report prints.

I think this is what you're looking for:

http://www.mvps.org/access/api/api0037.htm
API: Suppress the "Printing" Dialog

It wouldn't surprise me to find that there's some registry setting that
might be used instead, but if so, I don't know what it is.
 
Back
Top