Results 1 to 8 of 8
  1. #1
    Star Lounger
    Join Date
    Aug 2001
    Location
    Campbell River, Br. Columbia, Canada
    Posts
    65
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Table of Contents (Word 2000)

    Can anyone tell me how to remove the hyperlinks from a TOC? I like the TOC format I have created but I can't figure out how to remove the hyperlink feature from it. I've been toying with the idea of just entering the entries and page numbers in a regular table and using that as a TOC but there's got to be a better way.

    Thanks

  2. #2
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Table of Contents (Word 2000)

    If you're trying to have TOCs the way previous versions worked (pages only are hyperlinked):
    1. Press Alt+F9 to display field codes
    2. Delete the switch h

    If you're trying to get rid of ALL hyperlinks:
    Select the TOC & press Ctrl+Shift+F9. This converts the entire TOC to plain text.

    Hope this helps.

  3. #3
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Winston-Salem, North Carolina, USA
    Posts
    224
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Table of Contents (Word 2000)

    Just one note to add to Phil's directions: Once you've removed the h switch from the TOC code, you must update the code (select it and press F9) before the hyperlink goes away.

    Lee Morgan

  4. #4
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Table of Contents (Word 2000)

    Thank you, Lee. I wrote too fast <img src=/S/blush.gif border=0 alt=blush width=15 height=15>.

  5. #5
    Star Lounger
    Join Date
    Aug 2001
    Location
    Campbell River, Br. Columbia, Canada
    Posts
    65
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Table of Contents (Word 2000)

    BINGO!!

    Thanks so much Phil & Lee. I really appreciate the clarity of your instructions.
    Worked like a charm.

    R

  6. #6
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Winston-Salem, North Carolina, USA
    Posts
    224
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Table of Contents (Word 2000)

    No problem, Phil. I learned that one the hard way during my time on our Help Desk. It only took 7 or 8 tries to begin to remember to say that! <img src=/S/blush.gif border=0 alt=blush width=15 height=15>ing right along with you.

    Lee Morgan

  7. #7
    New Lounger
    Join Date
    Nov 2001
    Location
    Melbourne, Australia
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Table of Contents (Word 2000)

    Your response to muchwyza answered my question as well... many thanks. However, is there a way in which "no hyperlink" is the default when creating TOC entries?

  8. #8
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Table of Contents (Word 2000)

    Hi Colt:

    I don't think so. However, once you remove the h switch, you can update the TOC without the hyperlink coming back. You can also use this macro, after creating the TOC:
    <pre>Sub NukeHyperLinksFromTOC_TOF()
    '
    ' NukeHyperLinksFromTOC_TOF Macro
    ' Macro created by Pieter Janssens@skynet.be
    '
    Dim TOC As TableOfContents
    Dim TOF As TableOfFigures
    With ActiveDocument
    For Each TOC In .TablesOfContents
    With TOC.Range
    Do Until .Hyperlinks.Count = 0
    .Hyperlinks(1).Delete
    Loop
    With .Font
    .Underline = wdUnderlineNone
    .Color = wdColorBlack
    End With
    End With
    Next
    For Each TOF In .TablesOfFigures
    With TOF.Range
    Do Until .Hyperlinks.Count = 0
    .Hyperlinks(1).Delete
    Loop
    With .Font
    .Underline = wdUnderlineNone
    .Color = wdColorBlack
    End With
    End With
    Next
    End With
    End Sub</pre>


    You can assign it to a toolbar or shortcut key. Funny. I hated the new hyperlink feature at first. Now I find that I hate it while I'm creating the TOC, because it makes it somewhat difficult to select it without setting it off, it's handier after it's finished. If I'm searching on the left side for a topic, I don't have to switch my focus to the page number.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •