View Single Post
 
Old 06-07-2021, 03:35 PM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,164
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

Copy/Pasting of hyperlinks and bookmarks raises some other things you should know.

1. Copy a range including a hidden bookmark, paste it somewhere else in the same doc, update a xref to the original range and it still points at the original range (where the bookmark still sits), then delete the original range (thus removing the bookmark), update xref and now it is broken. Paste again, the same content can retain the bookmark this time and thus xref will update again successfully, pointing at this new pasted range.
Lesson: If you copy/paste text containing bookmarks into a document which already contains that bookmark name, the second copy of the bookmark can't exist so it disappears when you paste it. If you cut instead of copy this wouldn't be a problem.

2. You can copy/paste from one document to another and xrefs will continue to work as long as both the xref and the same bookmark name exist in the target document.

3. You can repair a broken xref by recreating a bookmark by copying its name from the field code of the xref and then adding that bookmark at the 'target text' location.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote