Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 631
  • Last Modified:

Table of content in MS WORD 2003 with page numbers and hyperlinks

is there anyway to use the wizard in MS WORD 2003 to Table of content with page numbers and hyperlinks. I know how to create with either one, but not both.
0
RalphyC
Asked:
RalphyC
2 Solutions
 
RapidDelpCommented:
Just using the wizard you cannot do both, but if you choose page numbers, the whole line is a hyperlink to the location, so you get both.

Now you could change the paragraph format to include blue color and underline to make the link more obvious, then you would have "both"

Another option is to run some VB code to make the link more obvious, but until I know what you are trying to accomplish, I don't want to spend time on the code.

Best of luck!
0
 
DonQuiyoteCommented:
What you require is not available through the wizard but can be achieved by modifying the field codes.

1. Use the wizard to create the type of table of contents you have in mind.
2. After completing the wizard, press Alt-F9 in the document to reveal the field codes in your document.
3. Locate the TOC and examine the codes. You want to have the \h switch to enable hyperlinks. And you do not want the \n switch that suppresses page numbers. To learn about other field codes, search for TOC field codes in help.
4. Press Alt-F9 again to hide the field codes, and F9 to update the table. As you probably know, you will only have hyperlinks in Webview.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now