Microsoft Office Forums

Go Back   Microsoft Office Forums > Microsoft Word > Word

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 07-19-2011, 12:21 AM
tays01s tays01s is offline Mac OS X Office for Mac 2011
Novice
 
Join Date: Jul 2011
Posts: 16
tays01s is on a distinguished road
Default Table of contents: Hyperlinking

Can you automatically hyperlink the TOC to the heading?
Reply With Quote
  #2  
Old 07-19-2011, 03:36 AM
macropod macropod is online now Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 9,581
macropod is a jewel in the roughmacropod is a jewel in the roughmacropod is a jewel in the roughmacropod is a jewel in the rough
Default

Yes - that's how they work by default.
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
  #3  
Old 07-19-2011, 06:05 AM
tays01s tays01s is offline Mac OS X Office for Mac 2011
Novice
 
Join Date: Jul 2011
Posts: 16
tays01s is on a distinguished road
Default

Ah! Then in addition to macros not recording properly my TOC is not automatically hyperlinked to the headings it was created from.

Again, is this because I'm using a trial 2011 version? Still well within 30d.
Reply With Quote
  #4  
Old 07-19-2011, 03:48 PM
macropod macropod is online now Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 9,581
macropod is a jewel in the roughmacropod is a jewel in the roughmacropod is a jewel in the roughmacropod is a jewel in the rough
Default

I doubt it has anything to do with the trial - maybe the installation is faulty.
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
  #5  
Old 07-19-2011, 06:54 PM
macropod macropod is online now Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 9,581
macropod is a jewel in the roughmacropod is a jewel in the roughmacropod is a jewel in the roughmacropod is a jewel in the rough
Default

Did you use Ctrl-Click to active the hyperlink, or have you configured Word so that's not necessary?
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
  #6  
Old 07-19-2011, 09:55 PM
tays01s tays01s is offline Mac OS X Office for Mac 2011
Novice
 
Join Date: Jul 2011
Posts: 16
tays01s is on a distinguished road
Default

Yes, have tried Control (it triggers a pop-up copy/cut/paste window), cmd, alt, nothing works and the TOC shows no sign that it is hyerlinked.

As mentioned, completely separately I tried recording a simple macro and found that 'select all' commands were recorded but not the 'find/replace'. So something odd is occurring.
Reply With Quote
  #7  
Old 07-19-2011, 11:16 PM
macropod macropod is online now Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 9,581
macropod is a jewel in the roughmacropod is a jewel in the roughmacropod is a jewel in the roughmacropod is a jewel in the rough
Default

OK, in your TOC, select one of the page #s and press Shift-F9. You should see something like:
{PAGEREF _Toc298941567 \h}
If the \h isn't there, that means your TOC has been created without the hyperlink switch for the page #s.

Likewise, if you select the whole TOC and press Shift-F9. You should see something like:
{TOC \h}
If the \h isn't there, that means your TOC has been created without the hyperlink switch for the headings.

If the \h switches are present and hyperlinking isn't working, you've definitely problems with that aspect of the application also.
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
  #8  
Old 07-20-2011, 03:41 AM
tays01s tays01s is offline Mac OS X Office for Mac 2011
Novice
 
Join Date: Jul 2011
Posts: 16
tays01s is on a distinguished road
Default

Shift+F9 don't pull that info on my Powerbook because they're locked to other functions.

However, I've been a duffer. The 'page numbers' ARE hyperlinked. I'm used to OO Writer where the whole heading is hyperlinked in blue; can this be done?

And can you automatically update the TOC when new headings are added?
Reply With Quote
  #9  
Old 07-20-2011, 03:45 AM
macropod macropod is online now Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 9,581
macropod is a jewel in the roughmacropod is a jewel in the roughmacropod is a jewel in the roughmacropod is a jewel in the rough
Default

For updating the TOC, Ctrl-A, F9 should update all fields in the body of the document, including cross-references, hyperlinks and the TOC.

As for the TOC format, you could format its Styles as blue underlined text. They won't change colour like regular hyperlinks when clicked on, though.
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
  #10  
Old 07-20-2011, 09:10 AM
tays01s tays01s is offline Mac OS X Office for Mac 2011
Novice
 
Join Date: Jul 2011
Posts: 16
tays01s is on a distinguished road
Default

Just 1 last Q. Been into 'Styles' but I can't see anywhere you could have the whole of the 'heading' within the TOC hyperlinked, ie. so that you can click anywhere on the TOC text rather than just the page number. Can you do the former?
Reply With Quote
  #11  
Old 07-20-2011, 11:58 PM
macropod macropod is online now Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 9,581
macropod is a jewel in the roughmacropod is a jewel in the roughmacropod is a jewel in the roughmacropod is a jewel in the rough
Default

hi Tays,

Shift-F9 or Alt-F9 (Cmd-F9 on a Mac) should reveal the field codes, for a standard TOC field, the code should look like:
{TOC}
simply add a hyperlink switch to the field code, so you end up with:
{TOC \h}
Then press F9 to update the field. If you used Alt-F9/Cmd-F9 to reveal the field code, press it again to show the output.

Note: adding the \h switch doesn't affect the TOC's appearance - only its behaviour.
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
  #12  
Old 07-21-2011, 12:34 PM
tays01s tays01s is offline Mac OS X Office for Mac 2011
Novice
 
Join Date: Jul 2011
Posts: 16
tays01s is on a distinguished road
Default

adding the '\h' didn't appear to change the hyperlinking, ie. the 'finger-pointing white hand' only appears over the page number and clicking only takes you to the hyperlink over ~40% of the line from the R-hand side.
Reply With Quote
Reply
Please reply to this thread with any new information or opinions.

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Table of Contents - with a twist NuggetSoftware Word 3 06-03-2011 02:51 PM
Table of contents markos97 Word 0 10-26-2010 08:52 AM
Custom Table of Contents NJPhillips Word 1 06-11-2010 12:39 PM
Table of contents automation through VB 6.0 Developer Word Tables 0 06-09-2009 06:30 AM
Table of Contents Formatting Rick5150 Word Tables 1 03-16-2009 11:10 AM


All times are GMT -7. The time now is 06:01 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
MSOfficeForums.com is not affiliated with Microsoft