Link to home
Start Free TrialLog in
Avatar of openaccount1
openaccount1

asked on

Need script Updating: MS Word Accept changes, delete comments but will retain change history.

Hi,

We asked someone in EE for a script to accept changes, delete comments and turn off change tracking but we would like to have a variation of the script. The current script will accept the changes but will delete the change history versions but we would like an alternative where the version of the changes will be kept even if the change tracking has been disabled. With the current script (attached to this question) the version tracking is deleted as well which means that if would like to look at the changes version it will not be possible because change versions were deleted as well. Is there a way to keep the change versions even if the chnage tracking has been disabled? can anyone do the changes on the script attached so that even if change tracking has been disabled when turned on again the change tracking, the change version will still be there.

Thanks
AcceptTrackChangesWord.doc
Avatar of irudyk
irudyk
Flag of Canada image

Well the code accepts all changes made to the document and turns the tracking changes off.  If you want to keep the change history, you can't accept the changes (doing so, removes the change history).  Also, turning the tracking changes off will stop tracking any future changes made.
Sounds to me like you want to look at the document with the changes as they have been made, but want the option to go back and look at the original or the original with the change history.  All of this is accomplished using the Display for Review options from the Reviewers toolbar.  In your case pick the Final option from the list.  You will note that there are 4 options from which to choose.  I think using these options is what you are looking for.

ReviewerToolbar.JPG
Avatar of openaccount1
openaccount1

ASKER

so if we turn off change tracking that means we cannot view the versions again?
Hi,

If so, how would you recommend on automatically seeing the final output using the same batch method in the code. maybe show final output and keep versioning?
It is unclear to me when you use the term "versioning".  Are you referring to saving versions of the file (e.g. under the Word menu File | Versions... | Save Now) or something else?
What is it that you want to be able to specifically see in the document?  As I stated in my previous post, if you accept changes then all change information history gets removed (i.e. who made what changes gets removed).  If you want to keep tracking changes but not want to see the revision marks in the document choose the Final review view option.
As for how to work that into the code, I would change the Sub change() routine as follows:

Sub change()
With ActiveWindow.View
    .ShowRevisionsAndComments = False
    .RevisionsView = wdRevisionsViewFinal
End With
ActiveDocument.Save
ActiveDocument.Close
End Sub

Open in new window

Hi,

Yes we would like to be able to do that too. what we want is a batch file to be able to:

1. show the final revision of the document but will keep the change history and they are and hidded and we can see them again at any time. The current code in the word document accepts the changes and remove the change history and we only want the comments or change history hidden.
2. Keep version history of the file everytime it is saved or closed.
ASKER CERTIFIED SOLUTION
Avatar of ExcelGuide
ExcelGuide
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial