Using MS Access, I need to open a PDF file, move the last page of the file to the first, and save it. But the error (see below) keeps getting in my way. (I'm good with VBA, but this is my first attempt at manipulating PDF with VBA).
Note: I'm using AcroRd32.DLL
Option Compare Database
Option Explicit
Sub x()
Dim PDFdoc As New AcroPDDoc
PDFdoc.Open "C:\Reports\MRIR\mrir.pdf" 'activex comp. can't create object
PDFdoc.MovePage 0, PDFdoc.GetNumPages
PDFdoc.Save 1, "C:\reports\MRIR\Switched.pdf"
End Sub