View Single Post
 
Old 05-11-2020, 05:09 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,518
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

If you save a document as a PDF and use the 'Create bookmarks using Headings' option, the bookmarks pop-out in Adobe Reader functions as an expandable Table of Contents.

Anything fancier would require you to bookmark both the Table of Contents and every Heading in the document, so your save-as could use the 'Create bookmarks using bookmarks' option.

As for your "Click to Return to Table of Contents" requirement, all you need do is create the cross-reference once, then copy that to the clipboard and use Find/Replace to replace all the other instances with the clipboard contents. No code required.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote