Obviously, when you create an index in word, entries should be automatically
hyperliked - clicking on the index page would take you directly to that
location within the electronic document. My document has and index. When I
mark new entries and update, I want those to become hyperlinks as described.
Too logical to not be possible. Anybody?
Jonathan West - 01 Nov 2004 12:05 GMT
> Obviously, when you create an index in word, entries should be
> automatically
[quoted text clipped - 5 lines]
>
> Too logical to not be possible. Anybody?
It might be obvious that Word ought to work that way, but it doesn't. The
reason is that the page naumbers are derived not from bookmarks but from XE
fields, and that the XE controls the contents of the entries in a way that
is rather more subtle than the TOC manages.
It's quite possible to write a macro that does the following
- checks if the selection is within an Index field
- If so, checks if the selection is a page number
- If so, works out characteristics of the XE field that generated that line
of the index
- Finds the first matching XE field on the relevant page
- Jumps to that location.
How hard it is would depend on how robust you want it to be in coping with
all the variations in how an Index can be formatted. If you need it only for
your own purposes and have a specific layout you always follow, then it is
quite a bit easier.

Signature
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Helmut Weber - 01 Nov 2004 12:26 GMT
Hi Garett,
if you need a professional solution,
not just something that works every now and then,
it seems that this might be the right place to look for:
Quote:
Steve Hudson - Word Heretic
"Want a hyperlinked index? S/W R&D? See WordHeretic.com"
---
Greetings from Bavaria, Germany
Helmut Weber, MVP
"red.sys" & chr(64) & "t-online.de"
Word XP, Win 98
http://word.mvps.org/
Garett - 01 Nov 2004 20:54 GMT
Thank you gentlemen for your replies. Greetings to Bavaria, Germany!
> Hi Garett,
> if you need a professional solution,
[quoted text clipped - 9 lines]
> Word XP, Win 98
> http://word.mvps.org/