![]() |
|
#2
|
||||
|
||||
|
Try running the following macro:
Code:
Sub AcceptTrackedFields()
'This sub accepts any tracked changes affecting fields
Dim Story As Range, oFld As Field, oRev As Revision, Rng As Range
With ActiveDocument
' Loop through all range objects and accept tracked changes on fields
For Each Story In .StoryRanges
For Each oRev In Story.Revisions
For Each oFld In oRev.Range.Fields
oFld.ShowCodes = True
Set Rng = oFld.Code
With Rng
.MoveEndUntil cset:=Chr(21), Count:=wdForward
.MoveEndUntil cset:=Chr(19), Count:=wdBackward
.End = .End + 1
.Start = .Start - 1
oFld.ShowCodes = False
.Revisions.AcceptAll
End With
Next
Next
Next
End With
Set Rng = Nothing
End Sub
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
| Tags |
| change tracking, review |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Bookmarks & cross-references
|
Suchoklates | Word | 1 | 09-19-2013 02:32 AM |
Cross-References
|
acolussi | Word | 9 | 05-16-2013 02:11 AM |
| Word 2012 Doc Variables and Review mode without comments | cyndor | Word | 0 | 02-28-2012 12:21 PM |
| MS Word cross-references? | entity022 | Word | 3 | 06-03-2010 06:37 AM |
| Cross References | egcharles | Office | 0 | 04-19-2009 06:20 AM |