1 Reply Latest reply on Dec 30, 2011 6:39 AM by Bernd Alheit

    Acrobat Type 8.0 Library




      I am using VBA to edit pdf document.I searched on intenet and found it can be done using acrobat type library. I have selected acrobat type 8 Library and put in a sample code.


      I am getting error 429 - activeX can't createobject. Following is the code (stops at last line) , please help to understand why the objects aren't created.



      Sub Button1_Click()


          Dim AcroApp As Acrobat.CAcroApp

          Dim Part1Document As Acrobat.CAcroPDDoc

           Dim numPages As Integer 

          Set AcroApp = CreateObject("AcroExch.App")

      Dim Part2Document As Acrobat.CAcroPDDoc 



      My selection order for libraries is as follows -