I have a print macro designed to copy/paste, then print. It repeats these steps over and over as it moves row by row down the document. It works great.
However, after printing paper copies I'd love to be able to re-do the print macro while printing the multiple pages to just one .pdf file. When I change my active printer to print to a .pdf file and run the macro, it works as expected. I am prompted to provide a new file name each time it is ready to print the subsequent row. That's fine, but again, I'd love for each item to be added as a new page to an existing .pdf (or one I designate on the first print sequence).
It doesn't seem like this should be possible, but I figured it can't hurt to ask.
Here are the first 3 iterations of the code, which continues 120-ish rows.
Sheets("Master").Select
Rows("274:274").Select
Selection.Copy
Sheets("Sheet1").Select
Range("A1").Select
ActiveSheet.Paste
Application.CutCopyMode = False
ActiveWindow.SelectedSheets.PrintOut Copies:=1
Sheets("Master").Select
Rows("275:275").Select
Selection.Copy
Sheets("Sheet1").Select
Range("A1").Select
ActiveSheet.Paste
Application.CutCopyMode = False
ActiveWindow.SelectedSheets.PrintOut Copies:=1
Sheets("Master").Select
Rows("276:276").Select
Selection.Copy
Sheets("Sheet1").Select
Range("A1").Select
ActiveSheet.Paste
Application.CutCopyMode = False
ActiveWindow.SelectedSheets.PrintOut Copies:=1
However, after printing paper copies I'd love to be able to re-do the print macro while printing the multiple pages to just one .pdf file. When I change my active printer to print to a .pdf file and run the macro, it works as expected. I am prompted to provide a new file name each time it is ready to print the subsequent row. That's fine, but again, I'd love for each item to be added as a new page to an existing .pdf (or one I designate on the first print sequence).
It doesn't seem like this should be possible, but I figured it can't hurt to ask.
Here are the first 3 iterations of the code, which continues 120-ish rows.
Sheets("Master").Select
Rows("274:274").Select
Selection.Copy
Sheets("Sheet1").Select
Range("A1").Select
ActiveSheet.Paste
Application.CutCopyMode = False
ActiveWindow.SelectedSheets.PrintOut Copies:=1
Sheets("Master").Select
Rows("275:275").Select
Selection.Copy
Sheets("Sheet1").Select
Range("A1").Select
ActiveSheet.Paste
Application.CutCopyMode = False
ActiveWindow.SelectedSheets.PrintOut Copies:=1
Sheets("Master").Select
Rows("276:276").Select
Selection.Copy
Sheets("Sheet1").Select
Range("A1").Select
ActiveSheet.Paste
Application.CutCopyMode = False
ActiveWindow.SelectedSheets.PrintOut Copies:=1