Printing Report

J

jeff

I have worked out the printing options. Thanks to Fred.
Now when the option is taken to print out the pages, even when I CANCEL the
command still goes through. I want to have the option that if I cancel that
the page will not print.
Thanks.
=============================================
This is the code:
DoCmd.OpenReport "ReportName", acViewPreview
DoCmd.SelectObject acReport, "ReportName", False
DoCmd.PrintOut acPrintAll, , , , InputBox("How Many copies?", ,1)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top