Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Questions about expanding an index in MS Word

Status
Not open for further replies.

JaybeeinTekTips

Technical User
Nov 5, 2004
20
GB
How do I expand an index in MS word?
I have an index that needs to be expanded to accomodate a lot of extra content, it'll triple the size of the document. After I paste the content, how do I:

1) Create new index entries;

2) Link each paragraph with the corresponding entry?

3) Ensure each entry gives the correct page number of its paragraph?

I should be able to Ctrl+ click an index entry and be taken straight to the relevant paragraph.

Quick answers appreciated, but PLEASE only answer if you actually know for sure how this is done.

Thanks,

Jaybee.
 
1) Create new index entries;

2) Link each paragraph with the corresponding entry?

These are essentially the same thing. Although "paragraph" is not relevant. A entry can be whatever you want it to be: a word, a sentence, a paragraph, a bookmark (including a bookmark that spans multiple pages).

A new entry is created by selecting whatever it is you want to index, and Mark it. Insert > References > Index and tables and click the Mark Entry button.
I should be able to Ctrl+ click an index entry and be taken straight to the relevant paragraph.
Perhaps later versions of Word will do this natively, but 2002 does not.


The ability of Table of Content entries to do this is because, behind the scene, Word actually creates a hidden bookmark for every entry to the ToC. Hidden bookmarks are indicated by the underscore character at the start of their name.

eg. _Toc170540621

Table of Content entries are hyperlinks back to those hidden bookmarks.

Index entries do not do this. Index entries CAN be set for bookmarks though.

So, what you can do is:

1. Select the content you want to index.

2. Bookmark it. Note you can NOT (at least with 2002) make a hidden bookmark. So you will have to actually give it a name. This could be a pain, as no spaces are allowed.

3. Index it.

4. Go through the index (manually I'm afraid...but I am trying to now do this by code), and make hyperlinks to the bookmarks.

BTW: this will update fine. If you add contents and the page number changes, updating the index will update the displayed page number, and the hyperlink will work correctly, as it it links to the bookmark regardless of where it is.

Hope this helps.

faq219-2884

Gerry
My paintings and sculpture
 
Hi JaybeeinTekTips,
To update an Index, you can try the following:
1. Select the word or phrase.
2. Click the Insert menu.
3. Select Insert/References/Index and Tables.
4. On the Index tab, click Mark Entry. This Mark Entry dialog box can remain open until you are finished if after you click Mark Entry, you click your document again, go the next word and select it, then click the dialog box again to refresh it.
5. Select your options and your formatting in the dialog box.
6. When finished, click OK.
7. If you already have an index, go to the Index. Right click on it and select Update field to bring the new entries into the existing Index.

Not sure about the Ctrl key hyperlink. I didn't test that.

Good luck,


Best,
Blue Horizon [2thumbsup]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top