ChrisCalvert
Technical User
I am trying to have a button open a form print then close the form. When trying to execute the close command I get a runtime 2585. What can I do to make access wait until the printing is finished to close? Here is the code so far:
Private Sub Form_Activate()
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.PrintOut acSelection
'please stop with the 2585...
DoCmd.Close
End Sub
Private Sub Form_Activate()
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.PrintOut acSelection
'please stop with the 2585...
DoCmd.Close
End Sub