Combining existing PDF to macro created pdf

CFo68

New Member
Joined
Jul 25, 2018
Messages
1
Hi there,

I have created a macro to pdf certain tabs from a workbook. Easy enough but and I am looking to add an already existing pdf to the macro pdf once it is created. I currently have this code which is simply the code to create the pdf.

Code:
Sub PDFReport()'
' PDFReport Macro
'


'
    Sheets("Page 1.1").Select
    Sheets(Array("Page 1.1", "Page 2.2", "Page 3.3", "Page 4.1", "Page 5.1", "Page 6.1", _
        "Page 7.1", "Page 8.1", "Page 9.1", "Page 10.1")).Select
    Sheets("Page 1.1").Activate
    ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _
                ThisWorkbook.Path & "\" & Left(ThisWorkbook.Name, InStr(ThisWorkbook.Name, ".") - 1), _
        Quality:=xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas _
        :=False, OpenAfterPublish:=True
End Sub

Can anybody provide some assistance so that I can add in a pdf that already exists in to the macro pdf? It would need to be entered as the first page and go before any of the pages in the macro pdf.
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Forum statistics

Threads
1,215,684
Messages
6,126,199
Members
449,298
Latest member
Jest

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top