1 Reply Latest reply on Oct 13, 2008 8:25 AM by Martin Fischer

    Index Level 2

      Hello,

      I have used the below code to add the Level 1 index. Now i want to add the Level 2 index.

      Dim myIndex As InDesign.Index
      Dim myTopic1 As InDesign.Topic
      myIndex = IndDoc.Indexes.Add
      myTopic1 = myIndex.Topics.Add(CStr(IndDoc.Selection(1).texts(1).contents))
      myTopic1.PageReferences.Add(IndDoc.Selection(1).texts(1), InDesign.idPageReferenceType.idCurrentPage)

      Please suggest.