How do I disable change tracking of cross reference updates?

J

jrr

How does one disable change tracking of cross reference updates? When cross
references are updated they appear as insert/delet changes and makes it
extremely hard to review the document.

We have SW design and functional specs with lots of cross references and, we
want to focus on what has REALLY changed, not the goofy little cross
reference updates. However, the change bars and ballons flag all of those
silly little cross reference updates.

Worse, some of our users have update reference on printing, and so even if
we go through and waste the 30+ minutes to accept all the cross reference
updates, someone prints and then readds all of them again.
 
M

macropod

Hi jrr,

Ideally, you should disable change tracking BEFORE doing anthything that updates cross-references, etc. For an existting document,
you can use the following macro to 'accept' all field changes:
Sub AcceptTrackedFields()
Dim oRange As Word.Range, Fld As Field
With ActiveDocument
For Each oRange In .StoryRanges
Do
For Each Fld In oRange.Fields
Fld.Select
Selection.Range.Revisions.AcceptAll
Next
Set oRange = oRange.NextStoryRange
Loop Until oRange Is Nothing
Next
End With
End Sub
 
J

jrr

Hello macropod,

I understand that you should disable tracking before updating cross
references, but in the team many members have cross references updated when
they print. So the simple action of doing a print preview or even just
printing the document causes problems.

I almost question if "updating references before printing" is a default
because so many of them have it enabled, and they are not the type to go
mucking around in the otpions or preferences.

As for the macro, I want to check. Do it accept only the cross reference
updates or does it accept everythign. (This question comes from my ignorance
of what a field is. Is a field a cross reference, or anything like that --
say an table of contents, etc.)?

Thank you for your help.

macropod said:
Hi jrr,

Ideally, you should disable change tracking BEFORE doing anthything that updates cross-references, etc. For an existting document,
you can use the following macro to 'accept' all field changes:
Sub AcceptTrackedFields()
Dim oRange As Word.Range, Fld As Field
With ActiveDocument
For Each oRange In .StoryRanges
Do
For Each Fld In oRange.Fields
Fld.Select
Selection.Range.Revisions.AcceptAll
Next
Set oRange = oRange.NextStoryRange
Loop Until oRange Is Nothing
Next
End With
End Sub

--
Cheers
macropod
[Microsoft MVP - Word]


jrr said:
How does one disable change tracking of cross reference updates? When cross
references are updated they appear as insert/delet changes and makes it
extremely hard to review the document.

We have SW design and functional specs with lots of cross references and, we
want to focus on what has REALLY changed, not the goofy little cross
reference updates. However, the change bars and ballons flag all of those
silly little cross reference updates.

Worse, some of our users have update reference on printing, and so even if
we go through and waste the 30+ minutes to accept all the cross reference
updates, someone prints and then readds all of them again.
 
M

macropod

Hi jrr,

The macro accepts the changes to all fields. The only time this might be undesirable is if a field (eg a cross-reference) marked as
deleted exists in the middle of a block of text that was deleted at the same time. In that case, the field will be deleted from the
text marked as deleted. However, since this usually reflects a corresponding change where the same field is found in some added
text, it shouldn't be too much of a problem. You could make the macro work with only fields of a particular type, (eg TOCs, Page
numbers) if you want, by testing the field type before accepting the change.

--
Cheers
macropod
[Microsoft MVP - Word]


jrr said:
Hello macropod,

I understand that you should disable tracking before updating cross
references, but in the team many members have cross references updated when
they print. So the simple action of doing a print preview or even just
printing the document causes problems.

I almost question if "updating references before printing" is a default
because so many of them have it enabled, and they are not the type to go
mucking around in the otpions or preferences.

As for the macro, I want to check. Do it accept only the cross reference
updates or does it accept everythign. (This question comes from my ignorance
of what a field is. Is a field a cross reference, or anything like that --
say an table of contents, etc.)?

Thank you for your help.

macropod said:
Hi jrr,

Ideally, you should disable change tracking BEFORE doing anthything that updates cross-references, etc. For an existting
document,
you can use the following macro to 'accept' all field changes:
Sub AcceptTrackedFields()
Dim oRange As Word.Range, Fld As Field
With ActiveDocument
For Each oRange In .StoryRanges
Do
For Each Fld In oRange.Fields
Fld.Select
Selection.Range.Revisions.AcceptAll
Next
Set oRange = oRange.NextStoryRange
Loop Until oRange Is Nothing
Next
End With
End Sub

--
Cheers
macropod
[Microsoft MVP - Word]


jrr said:
How does one disable change tracking of cross reference updates? When cross
references are updated they appear as insert/delet changes and makes it
extremely hard to review the document.

We have SW design and functional specs with lots of cross references and, we
want to focus on what has REALLY changed, not the goofy little cross
reference updates. However, the change bars and ballons flag all of those
silly little cross reference updates.

Worse, some of our users have update reference on printing, and so even if
we go through and waste the 30+ minutes to accept all the cross reference
updates, someone prints and then readds all of them again.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top