I open a report in my VBA code via the line below.
DoCmd.OpenReport "TestReport", acViewPreview
I want the user to be able to change printers, etc. and print the report, then close the preview windows and return to code.
I see the report open - for a second - and then it goes right back to the code following the open report line. How can I get the preview windows to remain open?
Thank You
DoCmd.OpenReport "TestReport", acViewPreview
I want the user to be able to change printers, etc. and print the report, then close the preview windows and return to code.
I see the report open - for a second - and then it goes right back to the code following the open report line. How can I get the preview windows to remain open?
Thank You