I have an Excel sheet that is populated with data from a database. As I loop through the data, I write to the same sheet and print it. I want to put the output into a single PDF. I'm basically printing the same sheet over and over with different data. The problem is that instead of adding to the pdf, the pdf gets overwritten each time I export new data. Below is the code I use to export the sheet.
Sheets("FORM8").ExportAsFixedFormat Type:=xlTypePDF, Filename:= _
"F:\Reg\Form8\F8.pdf", OpenAfterPublish:=False