From: jallberg on 3 Mar 2010 09:08 I am editing a songbook, and I use AutoNum to number each song. Between editions I need add and remove songs, and I want to limit the bookeeping to a minimum. I want to create an index with the song number and title refering to the page its on. However, when I make the XE entry to include the AutoNum field, the AutoNum always turn into "1" in the text. I am completely new to VB, but I figured it would be possible to make a Sub to walk through the doc, find all instanses of my "Song Title" style, add a number and the proper index entry. Can someone help me out here, or point me in a different direction. Thanks, Mogens Jallberg
From: Doug Robbins - Word MVP on 3 Mar 2010 16:55 Apply the Heading 1 style to the song titles and then insert a Table of Contents -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "jallberg" <jallberg(a)discussions.microsoft.com> wrote in message news:B15885F9-EBF6-471F-BE7D-ECE9C4E0F373(a)microsoft.com... > I am editing a songbook, and I use AutoNum to number each song. Between > editions I need add and remove songs, and I want to limit the bookeeping > to a > minimum. > > I want to create an index with the song number and title refering to the > page its on. > However, when I make the XE entry to include the AutoNum field, the > AutoNum > always turn into "1" in the text. > > I am completely new to VB, but I figured it would be possible to make a > Sub > to walk through the doc, find all instanses of my "Song Title" style, add > a > number and the proper index entry. > > Can someone help me out here, or point me in a different direction. > > Thanks, > Mogens Jallberg
|
Pages: 1 Prev: Automating Templates - Another Question Next: Powerpoint from Word |