S
Scott_66701 via AccessMonster.com
I am trying to print multiple reports with 1 click of the button (without the
printer window popping up each time). Here is what I have so far. What am I
doing wrong?
Private Sub Command5_Click ( )
DoCmd.OpenReport "Final PCR 5", acViewPreview, , , acHidden
DoCmd.SelectObject acReport, "Final PCR 5"
DoCmd.PrintOut acPrintAll, , , , 1
DoCmd.Close acReport, "Final PCR 5"
printer window popping up each time). Here is what I have so far. What am I
doing wrong?
Private Sub Command5_Click ( )
DoCmd.OpenReport "Final PCR 5", acViewPreview, , , acHidden
DoCmd.SelectObject acReport, "Final PCR 5"
DoCmd.PrintOut acPrintAll, , , , 1
DoCmd.Close acReport, "Final PCR 5"