I have a VBA
code for Excel to print quadruplicate copies on the default printer.
What I want is to save this quadruplicate as a single PDF file i.e all four sheets in a single continuous 4 pages PDF file.
The code is as below.
Sub PrintInvoiceQuadtriplicate()
Dim i As Integer
Dim VList As Variant
VList = Array("ORIGINAL FOR RECIPIENT", "DUPLICATE FOR TRANSPORTER", "TRIPLICATE FOR SELLER", "EXTRA COPY")
For i = LBound(VList) To UBound(VList)
Range("L1") = VList(i)
ActiveSheet.PrintOut
Next
End Sub
Kindly let me know how to modify this code to get a single PDF file instead of separate pages.