4 Replies Latest reply on Sep 7, 2011 12:04 AM by ianwhit

    Linking text frames with script label array in vbs

    ianwhit

      Here's what I'm using

       

       

      TextFrameStr = "name1,name2,name3,name4"
      TextFrameArray = split(TextFrameStr, ",")

       

      'On Error Resume Next
      For i = 0 to Ubound(TextFrameArray)

       

      myDocument.TextFrames.item(TextFrameArray(i)).nextTextFrame = myDocument.TextFrames.item(TextFrameArray(i + 1))

       

      Next

       

       

      I keep getting the the 'Requested member does not exist' message.

      itemByName seems to not work as well.

       

      Its probably someting quite silly!

       

      Thanks for help inadvance