![]() |
|
#1
|
|||
|
|||
|
Dear all,
Are there any way to get "Track Changes" in Word 2010 not to track "Field code changed"? In "Track Changes Option", I can only un-check "Track formatting" but I cannot find any way to stop it tracking the "Field code changed" Thanks! |
|
#2
|
||||
|
||||
|
No. However, you can use a macro to automatically accept all field updates:
Code:
Sub AcceptTrackedFields()
Application.ScreenUpdating = False
'This sub accepts any tracked changes instigated by Word affecting fields – not field code edits
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
Application.ScreenUpdating = True
End Sub
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
#3
|
||||
|
||||
|
Cross-posted at: http://answers.microsoft.com/en-us/o...f-d176899e0c69
For cross-posting etiquette, please read: http://www.excelguru.ca/content.php?184
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Error: "Changes made were lost...reconnect with server", when switching "from" field | randhurrle | Outlook | 2 | 02-25-2015 06:51 PM |
| Replying to "Sent Items", the "To:" field always defaults to me rather than person I sent to | ravl13 | Outlook | 4 | 10-30-2014 06:29 PM |
Numbering format not "tracked" in track changes w/ formatting "on."
|
Velocitydreamer | Word | 1 | 05-26-2013 07:04 AM |
Word options "field shading" reverts to "when selected"
|
PaulBurcham | Word | 1 | 04-20-2013 11:18 AM |
How do I prevent the "author" or "owner" fields from being changed?
|
Bones | Word | 3 | 06-08-2012 12:15 AM |