VBA code for merging pdf files stopped working with new version PDFCreator

Hello all, I am new to this forum and I would like some help. Some years ago I developped an Access application where pdf’s are merged. I used the following code. It worked perfectly until a new version of PDFCreator was installed. Version 1.7.1 was replaced by the most recent version 2.5.2.
Now I get an error on CreateObject(“pdfforge.pdf.pdf”).
Advice please…

Function MergePdfs(MergedFileFullPathString As String, oud As String, nieuw As String) As Boolean

Dim PdfDoc As Object
Dim FilesToMergeArrayObject(1) As Variant
Set PdfDoc = CreateObject(“pdfforge.pdf.pdf”)
On Error GoTo LogError
FilesToMergeArrayObject(0) = oud
FilesToMergeArrayObject(1) = nieuw
On Error GoTo LogError
PdfDoc.MergePDFFiles_2 FilesToMergeArrayObject, MergedFileFullPathString, True
MergePdfs = True

Set PdfDoc = Nothing
Exit Function

MergePdfs = False
Call LogError(Err.Number, Err.Description, “MergePdfs()”)
Resume Cleanup

End Function


PDFCreator was completely rewritten after version 1.7.3, so I am afraid any code written for previous versions will need to be re-written completely:

Best regards,