Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-15-2014, 02:18 PM
macropod's Avatar
macropod macropod is offline Revision toggle without changing revision view? Windows 7 32bit Revision toggle without changing revision view? 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
  #2  
Old 04-15-2014, 05:32 PM
New Daddy New Daddy is offline Revision toggle without changing revision view? Windows Vista Revision toggle without changing revision view? Office 2003
Advanced Beginner
Revision toggle without changing revision view?
 
Join Date: Jan 2012
Posts: 90
New Daddy is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
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.
But your suggestion doesn't achieve what I want to achieve besides turning on/off tracking: I want to keep the current revision display setting. If revision display is off, it shouldn't be turned on by switching on/off the tracking; if revision display is on, it shouldn't be turned off by switching on/off the tracking.

The track change option will turn on the revision display as it turns on the tracking.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Revision toggle without changing revision view? Having Revision Bars Persist after Accepting Changes gocuse Word 3 08-20-2017 10:47 PM
Want: Revision Bars in Margin, How? sbianco Word 6 08-18-2017 06:28 AM
How do you make the cursor stay put when you switch between final & revision views? New Daddy Word 1 09-22-2013 04:44 AM
Revision toggle without changing revision view? Arrows and text boxes disappear when changing view? Jesse Word 4 06-12-2012 05:28 PM
Macro for tagging and rearranging selected text for revision caotico Word VBA 0 03-28-2012 06:35 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:49 AM.


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