1 Reply Latest reply on Jun 15, 2009 11:56 PM by Set Screen name

    [cs3 vba] How to move textframe with TOC generated?

    Set Screen name Level 1

      I read one answer here, that "CreateTOC" give reference for story. But how can i use this reference?

       

      line

      myDoc.CreateTOC MyTOCStyle, True, , Array(20, 90)

      do not give any possibility to have textframe as object.

       

      I need this, because:

      myInd.ActiveWindow.ActivePage = myDoc.Pages.Item(3)

      myDoc.CreateTOC MyTOCStyle, True, , Array(20, 90)

      generates TOC only on page 2.

      If i write myDoc.Pages.Item(5) - only on page 4 and so on.

      So i would like to move TOC frame on needed page.

       

      P.S. I have "ruler on spine".

       

      Thanks.