Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 05-11-2020, 11:09 PM
Guessed's Avatar
Guessed Guessed is offline Use VBA to insert cross references by looping through entire document from insertion point to end Windows 10 Use VBA to insert cross references by looping through entire document from insertion point to end Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

What is the cross-reference anchor text showing? If it is a cross-reference, that would imply that the words "Click to Return to Table of Contents" need to appear at the top of the TOC. A hyperlink is more flexible in that it doesn't need to be the same words as the location it is pointing to. If your hyperlinks are breaking, it is likely that your TOC field is being updated as part of the save and that the bookmarked range is inside the TOC field instead of being placed immediately in front of the TOC.

Paul's suggestion of using Find and Replace to create the multitude of links is by far the easiest way to do what you are asking for.

Placing these links all over the document for the express purpose of being able to bounce back to the TOC is not as quick as using the GoBack keyboard command. I would recommend you also teach users to press Alt-Left Arrow to return to the last clicked hyperlink.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
 

Tags
cross-reference, vba, word 16.



Similar Threads
Thread Thread Starter Forum Replies Last Post
Use VBA to insert cross references by looping through entire document from insertion point to end Is there a way to summarise all bookmarks and cross references used in a Word document? Training Word VBA 1 11-09-2017 12:06 AM
Use VBA to insert cross references by looping through entire document from insertion point to end Move Insertion Point with VBA Grasor Word VBA 2 10-11-2016 08:50 PM
Use VBA to insert cross references by looping through entire document from insertion point to end cross references and dynamic numbering in a document JJ_Writing Word 4 11-05-2015 02:19 AM
Updating document causes change lines on all cross references. :( garybeck Word 2 05-08-2015 09:15 PM
Convert manual cross references in footnotes to other footnotes to automatic cross references ghumdinger Word VBA 7 11-20-2014 11:47 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:40 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft