I have created a bunch of reports in Access. When I click on the little print preview button on the lower right-hand side, the preview displays quickly. However, if I insert a button with the following as the code:
Private Sub cbPrint_Click()
DoCmd.RunCommand acCmdPrintPreview
End Sub
... then the preview pops up, but Access seems to hang for about 3 minutes before I am able to do anything else. Is this the wrong code to use?
Thanks,
Ellen