
Signature
Stefan Blom
Microsoft Word MVP
> I am using Office 2003 on Windows XP.
>
[quoted text clipped - 17 lines]
>
> Please help, I'm frustrated beyond belief.
Thanks Stefan, it still does not work, however, this may be because I am
automating Word from Excel and I'm creating a document template based on the
original document to include the headers and footers.
But it still seems that no matter what I do, I can't get Markup to die. Is
there a way in code to permanently remove all the tracked changes? Can you
please post example code to do so?
Thanks again.
> See
> http://www.shaunakelly.com/word/trackchanges/HowTrackChangesWorks.html#Copying.
[quoted text clipped - 25 lines]
> >
> > Please help, I'm frustrated beyond belief.
Russ - 26 Aug 2006 09:53 GMT
Quartz,
> Thanks Stefan, it still does not work, however, this may be because I am
> automating Word from Excel and I'm creating a document template based on the
You might be creating and saving that aforementioned document template while
trackchanges is set to True, then any new document opened with that template
attached and active in the Word application will open with trackchanges
already set to True. (I didn't test this postulation.) Or maybe some other
template add-in attached to the Word application you're using had its
trackchanges set to True when it was created, saved, and added-in?
> original document to include the headers and footers.
>
[quoted text clipped - 34 lines]
>>>
>>> Please help, I'm frustrated beyond belief.

Signature
Russ
drsmN0SPAMikleAThotmailD0Tcom.INVALID
Russ - 26 Aug 2006 10:31 GMT
Quartz,
> Thanks Stefan, it still does not work, however, this may be because I am
> automating Word from Excel and I'm creating a document template based on the
[quoted text clipped - 3 lines]
> there a way in code to permanently remove all the tracked changes? Can you
> please post example code to do so?
If your talking about leftover-unresolved-previously-tracked changes still
showing up, then according to the 'HowTrackChangesWorks' link below, you
must accept or reject them, to get them to disappear. Then turn off track
changes. As far as code you can record a macro while performing that task in
Word or use ActiveDocument.AcceptAllRevisions to accept all changes then
ActiveDocument.TrackRevisions = False to stop any further tracking.
> Thanks again.
>
[quoted text clipped - 28 lines]
>>>
>>> Please help, I'm frustrated beyond belief.

Signature
Russ
drsmN0SPAMikleAThotmailD0Tcom.INVALID
Stefan Blom - 28 Aug 2006 10:58 GMT
According to the "How to copy text containing tracking changes"
section of the article at
http://www.shaunakelly.com/word/trackchanges/HowTrackChangesWorks.html,
copying from a document where the tracking is ON to a document where
tracking is OFF, should ensure that the target document does not have
track changes activated. But, on the other hand, if you want to
explicitly turn the tracking off, the following simple code should do
the trick:
Dim r As Revision
For Each r In ActiveDocument.Revisions
r.Accept
Next r
ActiveDocument.TrackRevisions = False

Signature
Stefan Blom
Microsoft Word MVP
> Thanks Stefan, it still does not work, however, this may be because I am
> automating Word from Excel and I'm creating a document template based on the
[quoted text clipped - 7 lines]
>
> > See
http://www.shaunakelly.com/word/trackchanges/HowTrackChangesWorks.html#Copying.
> > > I am using Office 2003 on Windows XP.
> > >
[quoted text clipped - 22 lines]
> > >
> > > Please help, I'm frustrated beyond belief.