Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-31-2014, 07:55 AM
Joey Cheung Joey Cheung is offline How to get "Track Changes" to ignore "Field Code Changed"? Windows 7 64bit How to get "Track Changes" to ignore "Field Code Changed"? Office 2010 64bit
Novice
How to get "Track Changes" to ignore "Field Code Changed"?
 
Join Date: Aug 2014
Posts: 10
Joey Cheung is on a distinguished road
Default How to get "Track Changes" to ignore "Field Code Changed"?

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!
Reply With Quote
  #2  
Old 10-31-2014, 05:26 PM
macropod's Avatar
macropod macropod is online now How to get "Track Changes" to ignore "Field Code Changed"? Windows 7 64bit How to get "Track Changes" to ignore "Field Code Changed"? Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote
  #3  
Old 10-31-2014, 07:55 PM
macropod's Avatar
macropod macropod is online now How to get "Track Changes" to ignore "Field Code Changed"? Windows 7 64bit How to get "Track Changes" to ignore "Field Code Changed"? Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote
Reply

Thread Tools
Display Modes


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
How to get "Track Changes" to ignore "Field Code Changed"? Numbering format not "tracked" in track changes w/ formatting "on." Velocitydreamer Word 1 05-26-2013 07:04 AM
How to get "Track Changes" to ignore "Field Code Changed"? Word options "field shading" reverts to "when selected" PaulBurcham Word 1 04-20-2013 11:18 AM
How to get "Track Changes" to ignore "Field Code Changed"? How do I prevent the "author" or "owner" fields from being changed? Bones Word 3 06-08-2012 12:15 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:38 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft