Ahhh that was it.... I guess that known runtime error isnt handled by the menu onAction and (strangely) causes the print dialog to reappear a second time. Putting that whole thing into a 100% code function with error handling solved the problem.
Short for everybody having the same problem:
Instead of Inserting
=DoCmd.RunCommand acCmdPrint
into the Action Property of the Menu item
use
=printDialog()
and put
Function printDialog()
On Error Resume Next
DoCmd.RunCommand acCmdPrint
On Error GoTo 0
End Function
(or any nice error handling code) into a global module.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.