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

How to code a Print button that shows the Standard Print Dialog box? 1

Status
Not open for further replies.

cfvcf

Technical User
Nov 8, 2007
77
US
Can someone point me in the right direction of what to code on a click event that opens the normal Print Dialog box where you select the correct printer, etc.?
Thank you.
 
Function PrintDialogue()
On Error Resume Next
DoCmd.DoMenuItem acFormBar, acFile, 6
End Function


Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244. Basics at
 
Can also add the MS Common Dialog control and use .ShowPrint.

When everything is coming your way, you're in the wrong lane.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top