View Single Post
 
Old 04-15-2014, 02:18 PM
macropod's Avatar
macropod macropod is offline Windows 7 32bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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

The probable reason your code doesn't work is that it:
a) captures the current setting,
b) turns on track changes,
c) restores the original setting.
So, unless track changes was already 'on' when you started the macro, it would be 'off' again once the macro has finished running. All you need is:
ActiveDocument.TrackRevisions = True
which hardly seems worth a macro - you can achieve the same result by adding the 'track changes' option to the status bar, then clicking on that any time you want to change the state.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote