How to insert hyperlinks in word document

S

Shanks

Hi
I have created a document containing around 130 pages and there are around
12 hyper links created on 2nd page within table of contents.

Now my question is how to create a hyperlink on all pages that will direct
the reader to "Go Top" that would take pointer directly to the table of
content page

Please help
Thank you in advance
Shanks
 
D

Doug Robbins - Word MVP on news.microsoft.com

A bit klunky, but if you put a macrobutton field in the header with the
Display Text of "Double Click here to go to Table of Contents" and you set
as the macro to be run by that field, a macro that contains the following
code

ActiveWindow.ActivePane.View.SeekView = wdSeekMainDocument
ActiveDocument.TablesOfContents(1).Range.Select
Selection.Collapse wdCollapseStart


Two left clicks will open the header pane and two more left clicks will
close the header pane and take you to the start of the 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