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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hiding the print dialog after a print command

Status
Not open for further replies.

ind

Programmer
Joined
Mar 9, 2000
Messages
121
Location
US
Is there a way to hide/disable the printing prompt after click a button command for a print action????????


I want to create my own printing prompt screen, instead of the windows default one.

Thanks
 
Still waying on a reply.
I appreciate the help!!!!!!!!!!!!!!!!!!!!!!
 

You can prevent the print dialog by using the OpenReport Method (for reports) or the PrintOut Method of DoCmd in you button click event. The syntax follows.


DoCmd.OpenReport reportname[, view][, filtername][, wherecondition]

DoCmd.PrintOut [printrange][, pagefrom, pageto][, printquality][, copies][, collatecopies]

Read more about this method in VBA HELP.

Terry

X-) "I don't have a solution, but I admire your problem."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top