Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hiding print dialog box

Status
Not open for further replies.

Techwarrior

Programmer
Apr 19, 2006
14
US
I have a report that I output as an HTML file using the following code:

DoCmd.OutputTo acReport, "rptWeb", "HTML(*.html)", "H:\WebReport.html", False, "", 0

The problem is when it runs a print dialog box comes up and shows the number of pages it is generating along with where they are going. This is information that the user doesn't need to see. Is there any way to hide it?
 
I've not tried this but have u tried docmd.setwarnings false

Ian Mayor (UK)
Program Error
Programming is 1% coding, 50% error checking and 49% sweat as your application bombs out in front of the client.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top