Print more than one copy VBA

stagnut

New Member
Hi,

I have the following code to print, but would like to add a number from a cell so that it prints more copies if required. Can anyone help ?

Sub Sunday()
Range("Sunday").PrintOut
Range("Sunday2").PrintOut
End Sub

Thanks...
 

Scott T

Well-known Member
Where I1 has the number of copies to print

Code:
Range("Sunday").PrintOut Copies:=Range("I1")
 
Last edited:

Scott T

Well-known Member
So if you put 2 in the cell you get 3 copies? The code works for me even if I put 2.5 in the cell I get 2 copies.
 

stagnut

New Member
Sorry Scott T. I was having a tired day yesterday and included your line in with the others instead of substituting.
All sorted now that I'm awake......many thanks it works perfectly
 

Some videos you may like

This Week's Hot Topics

Top