1 Reply Latest reply on Dec 8, 2010 7:02 PM by ARPhotos

    Data Merge Fields

    ARPhotos

      Hello,

       

      I'm running InDesign CS3 and would like to scan each of the data merge fields on a document and extract what page number they are on. 

       

      Can anyone assist? 

       

      Concept;

      For Each PlaceHolder In appref.ActiveDocument.DataMergeImagePlaceholders

           appref.ActiveWindow.ActivePage = PlaceHolder.PlaceHolderPageItem

           MsgBox PlaceHolder.????  PageNumber

      Next

       

      Thanks, James.