R richardn Registered User. Local time Today, 21:42 Joined Nov 6, 2001 Messages 49 Sep 21, 2006 #1 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
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
O OxDavis Registered User. Local time Today, 13:42 Joined Jul 14, 2005 Messages 74 Sep 21, 2006 #2 I believe this is right. If not, one if the gurus here will correct me Code: docmd.openreport "MyReport", acnormal PS: I believe you have quadruple posted this, might want to delete those Last edited: Sep 21, 2006
I believe this is right. If not, one if the gurus here will correct me Code: docmd.openreport "MyReport", acnormal PS: I believe you have quadruple posted this, might want to delete those
gemma-the-husky Super Moderator Staff member Local time Today, 19:42 Joined Sep 12, 2006 Messages 15,989 Sep 22, 2006 #3 the same text as oxdavis suggested with acpreview as a parameter will let you see it first.