View Single Post
 
Old 04-15-2014, 01:58 PM
New Daddy New Daddy is offline Windows Vista Office 2003
Advanced Beginner
 
Join Date: Jan 2012
Posts: 90
New Daddy is on a distinguished road
Default Revision toggle without changing revision view?

I'm trying to write a macro that will toggle the tracking without changing the current setting of the revision display. Why is the following code not working? It turns on the mark-up display when the tracking is turned on too. What I want to achieve is just to turn on tracking without disturbing the current revision display setting.

Code:
Sub ToggleTrackRevision()

Dim Display

Display = ActiveDocument.ShowRevisions
ActiveDocument.TrackRevisions = True
ActiveDocument.ShowRevisions = Display

End Sub
Reply With Quote