4 Replies Latest reply on Jun 13, 2018 1:59 PM by pixxxel schubser

    VBA Scripting for Illustrator: Open page of multi page PDF file

    gabeS1234 Level 1

      I'm writing a VBA script to automate the editing of some ~600 pdf files.


      I declared my illustrator application object as iapp.


      I can open the file I want to edit using: iapp.Open(filePath), but that triggers Illustrator to open a dialog box asking me which page of the PDF I want to open.


      How do I:


           a. open a specific page of the PDF using VBA


           b. use VBA to press OK on the dialog box