Update Wend Next sr End Sub '' Update all the fields, indexes, etc. '' This is a parameterless subroutine so that it can be used interactively.
For the purposes of this example assume that track changes is on.
Every time we subsequently accept that change and save the document it AGAIN shows it being deleted and readded which results in a long string of struck out 3.2. Another approach is to accept only the tracked changes that apply to fields.
Normally I would just tell my user "Don't accept the insertion each time". Is there a way to stop word from updating the cross reference upon save? Here's a macro that does just that: Sub Accept Tracked Fields() 'This sub accepts any tracked changes affecting fields Application.
Please note that all free Word tips, macros, add-ins and demos are provided "as is" and without obligation. The add-in works with Microsoft Word 2007, 2010, 2013, 2016 on PC.
Doc Tools Cross Reference Manager lets you do everything you can do using the built-in cross-reference functionality of Word easier and faster.
Besides which, how is Word to 'know' the 'corruption' described in this thread isn't intentional and the bookmarked range was meant to be expanded?Now, let's say we insert a cross-reference to para 3.1. If we change the original paragraph 3.1, so that it is now 3.2, when the cross reference updates it shows that it has deleted 3.1 and inserted 3.2. But here is where the problem begins: If we accept the insertion of 3.2 and save the document (or each time the document autosaves) it then readds a track change and shows that it has deleted 3.2 and reinserted 3.2. Hi Welshie, You could lock selected fields via Ctrl F11 (Ctrl Shift F11 unlocks selected fields). I can't see the point of 'purging' bookmarks from a document - that would destroy all cross-references. Why not just check what they span (via Insert|Bookmark Goto) and correct any errant ones (a trivial undertaking by comparison)?If you add the hyperlinks forward & back buttons to the QAT, you can easily navigate between cross-references and their bookmarks.