Hi i have a pdf file (path) and I want to convert it to a excel file. im using foxit phantom. I've used the api manual for ref and i cant figure it out. (http://cdn01.foxitsoftware.com/pub/foxit/manual/phantom/en_us/API%20Reference%20for%20Application%20Communication.pdf) The file is just a pdf with random values. I have the library PhantomPDF
Sub convert() Dim phApp As PhantomPDF.Application Set phApp = CreateObject("PhantomPDF.Application") Dim phCreator As PhantomPDF.Document Set phCreator = phApp.CurrentDocument Dim hresult As Variant Dim path As String path = "C:UsersplfournierDocumentsest.pdf" hresult = phCreator.OCRAndExportToExcel(path, 1, 1, True) End Sub
2.1m questions
2.1m answers
60 comments
57.0k users