Auto generate an index from a style

J

jallberg

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
 
D

Doug Robbins - Word MVP

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top