Close Print Preview screen

AndyShuter

Registered User.
Local time
Today, 12:13
Joined
Mar 3, 2003
Messages
151
In Code I am opennin a report by using the

I]DoCmd.Openform "rptName", acPreview[/I] command, but just wonered if I could automatically reverse the action and close it as well without having to click the close button

Regards

Andy
 
DoCmd.Close acReport, "ReportName"
 

Users who are viewing this thread

Back
Top Bottom