2 Replies Latest reply: Jan 3, 2012 4:12 AM by sidharthnitj RSS

    Acrobat Type 8.0 Library

    sidharthnitj Community Member

      Hi

       

      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 -

       

       

       

      lib.JPG

       

      I had posted this question earlier @   http://forums.adobe.com/thread/942967  . somebody asked me to post it in SDK.

       

      Please help what is the issue here.

       

      Regards

      Sidharth