2 Replies Latest reply on Oct 20, 2017 12:18 PM by Karl Heinz Kremer

    Get PDF page names (labels) using vba

    dannyboysk8s

      Hello All,

      I'm writing some vba code and I need to loop all the pages in a pdf file. I am able to get the name of the current page using  PDDoc.GetJSObject.GetPageLabel. I need to loop all the pages and get all their names. E.g.

       

      For i = 0 to  PDDoc.getNumPages

           //code to read the page names

      next i

       

      Thank in advance,

      Daniel.