How to print a report from VBA

richardn

Registered User.
Local time
Today, 21:42
Joined
Nov 6, 2001
Messages
49
How can I print a report from VBA?
For example I have a report named rpt1, and I want to print'it from code, not after opening the report in preview mode?
Thanks,
Richard
 
I believe this is right. If not, one if the gurus here will correct me
:D
Code:
docmd.openreport "MyReport", acnormal

PS: I believe you have quadruple posted this, might want to delete those:)
 
Last edited:
the same text as oxdavis suggested with acpreview as a parameter will let you see it first.
 

Users who are viewing this thread

Back
Top Bottom