Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.tables
|
|||
|
|||
Links in Table of Contents not working right
Hi.
I have a question about tables of contents (using Word 2003). I have a document that just inserts (via links/INCLUDETEXT) four other Word docs, each of which have tens to hundreds of sections, each with a level 4 header. I inserted a table of contents at the beginning of the document, which generated the field code {TOC \o "4-4" \h \z \u} , which seems to be correct. The strange thing is that when I ctrl-click an entry in the TOC, instead of jumping to the part of the document with that heading, Windows (XP Pro) opens an explorer window to the folder where the documents are located. If I display the field codes for some of the TOC entries, they look like this: {HYPERLINK \1 "_Toc165885966" }, with the number at the end varying. I looked up the field codes for HYPERLINK and found this: \l Specifies a location in the file, such as a bookmark, where this hyperlink will jump. Help! David |
#2
Posted to microsoft.public.word.tables
|
|||
|
|||
Links in Table of Contents not working right
This is just a guess: Is there a hyperlink base specified in the File |
Properties dialog box (Summary tab)? If so, clear it. -- Stefan Blom Microsoft Word MVP "unfrostedpoptart" wrote in message oups.com... Hi. I have a question about tables of contents (using Word 2003). I have a document that just inserts (via links/INCLUDETEXT) four other Word docs, each of which have tens to hundreds of sections, each with a level 4 header. I inserted a table of contents at the beginning of the document, which generated the field code {TOC \o "4-4" \h \z \u} , which seems to be correct. The strange thing is that when I ctrl-click an entry in the TOC, instead of jumping to the part of the document with that heading, Windows (XP Pro) opens an explorer window to the folder where the documents are located. If I display the field codes for some of the TOC entries, they look like this: {HYPERLINK \1 "_Toc165885966" }, with the number at the end varying. I looked up the field codes for HYPERLINK and found this: \l Specifies a location in the file, such as a bookmark, where this hyperlink will jump. Help! David |
#3
Posted to microsoft.public.word.tables
|
|||
|
|||
Links in Table of Contents not working right
On May 4, 2:34 am, "Stefan Blom" wrote:
This is just a guess: Is there a hyperlink base specified in the File | Properties dialog box (Summary tab)? If so, clear it. -- Stefan Blom Microsoft Word MVP "unfrostedpoptart" wrote in message oups.com... Hi. I have a question about tables of contents (using Word 2003). I have a document that just inserts (via links/INCLUDETEXT) four other Word docs, each of which have tens to hundreds of sections, each with a level 4 header. I inserted a table of contents at the beginning of the document, which generated the field code {TOC \o "4-4" \h \z \u} , which seems to be correct. The strange thing is that when I ctrl-click an entry in the TOC, instead of jumping to the part of the document with that heading, Windows (XP Pro) opens an explorer window to the folder where the documents are located. If I display the field codes for some of the TOC entries, they look like this: {HYPERLINK \1 "_Toc165885966" }, with the number at the end varying. I looked up the field codes for HYPERLINK and found this: \l Specifies a location in the file, such as a bookmark, where this hyperlink will jump. Excellent - that was it! I had added the hyperlink base in order to try and fix a problem I was having with INCLUDETEXT. I was pointed at this article: http://word.mvps.org/faqs/tblsfldsfm...textfields.htm , which said to set it. Thanks much, David |
#4
Posted to microsoft.public.word.tables
|
|||
|
|||
Links in Table of Contents not working right
You are welcome.
-- Stefan Blom Microsoft Word MVP "unfrostedpoptart" wrote in message ups.com... On May 4, 2:34 am, "Stefan Blom" wrote: This is just a guess: Is there a hyperlink base specified in the File | Properties dialog box (Summary tab)? If so, clear it. -- Stefan Blom Microsoft Word MVP "unfrostedpoptart" wrote in message oups.com... Hi. I have a question about tables of contents (using Word 2003). I have a document that just inserts (via links/INCLUDETEXT) four other Word docs, each of which have tens to hundreds of sections, each with a level 4 header. I inserted a table of contents at the beginning of the document, which generated the field code {TOC \o "4-4" \h \z \u} , which seems to be correct. The strange thing is that when I ctrl-click an entry in the TOC, instead of jumping to the part of the document with that heading, Windows (XP Pro) opens an explorer window to the folder where the documents are located. If I display the field codes for some of the TOC entries, they look like this: {HYPERLINK \1 "_Toc165885966" }, with the number at the end varying. I looked up the field codes for HYPERLINK and found this: \l Specifies a location in the file, such as a bookmark, where this hyperlink will jump. Excellent - that was it! I had added the hyperlink base in order to try and fix a problem I was having with INCLUDETEXT. I was pointed at this article: http://word.mvps.org/faqs/tblsfldsfm...textfields.htm , which said to set it. Thanks much, David |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Create an Index with Links - same as Table of Contents | Microsoft Word Help | |||
table of contents / links / slowness issues | New Users | |||
Links in the Table of Contents | Microsoft Word Help | |||
table of contents - changing links | Microsoft Word Help | |||
Adobe PDF and Table of Contents links | Microsoft Word Help |