Hi,
any suggestion to speed this code up?
normally it would take 40seconds
, thanks in advance
any suggestion to speed this code up?
Code:
Private Sub CommandButton3_Click()
Application.ScreenUpdating = False
Sheets("Invoice").PageSetup.PrintArea = ("A1:H58")
Sheets("Invoice").PageSetup.RightFooter = "Customer Copy"
Sheets("Invoice").PrintOut
Sheets("Invoice").PageSetup.RightFooter = "EAT Copy - Sales "
Sheets("Invoice").PrintOut
Sheets("Invoice").PageSetup.RightFooter = "EAT Copy - Account "
Sheets("Invoice").PrintOut
Sheets("DeliveryOrder").PageSetup.PrintArea = ("A1:G56")
Sheets("DeliveryOrder").PageSetup.RightFooter = "EAT Copy - Sales "
Sheets("DeliveryOrder").PrintOut
Sheets("DeliveryOrder").PageSetup.RightFooter = "Customer Copy"
Sheets("DeliveryOrder").PrintOut
Application.ScreenUpdating = True
End Sub
normally it would take 40seconds