Track Changes in protected documents

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

As you all probably know, the track changes menu is disabled whenever you protect a document as Read only. Even if we make exceptions to the protection, tracking revisions is not allowed in the editable areas and this feature is essential to our users.

Since they are locked down on the Menus/Toolbars, we tried to provide this functionality through VBA to turn track changes on/off through our own menu.

So here’s what we tried:
1. Add a macro called ToggleTrackRevisions with this code:
ActiveDocument.TrackRevisions = Not ActiveDocument.TrackRevisions

2. Created a new toolbar and added a new toolbar button for this.

This works partially! I can toggle it on in the protected document for the very first time, but from then on, but I cant turn it off!

We even modified the macro:

ActiveDocument.Unprotect
ActiveDocument.TrackRevisions = Not ActiveDocument.TrackRevisions

Still doesn’t work!! Any ideas???

Thanks in advance,
SK
 
Hi SK,

Use:

If ActiveDocument.TrackRevisions = False Then
ActiveDocument.TrackRevisions = True
Else
ActiveDocument.TrackRevisions = False
End If

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
SK said:
Hi,

As you all probably know, the track changes menu is disabled whenever you
protect a document as Read only. Even if we make exceptions to the
protection, tracking revisions is not allowed in the editable areas and this
feature is essential to our users.
Since they are locked down on the Menus/Toolbars, we tried to provide this
functionality through VBA to turn track changes on/off through our own menu.
So here's what we tried:
1. Add a macro called ToggleTrackRevisions with this code:
ActiveDocument.TrackRevisions = Not ActiveDocument.TrackRevisions

2. Created a new toolbar and added a new toolbar button for this.

This works partially! I can toggle it on in the protected document for the
very first time, but from then on, but I cant turn it off!
 
Back
Top