Hi,

I tried your code, it seems to run well but unfortunately, it doesn't create the output file.
Should the output pdf file exists before running the program?
Here is my code:
Dim y(1) As String
y(0) = MyPath & "Report1.pdf"
y(1) = MyPath & "Report2.pdf"

x = MergePdfFiles(y, MyPath & "me.pdf")

in the function, I have copied exactly your code.

Help

Mia