Group:  General ยป microsoft.public.officedev
Thread: Track Changes - multiple revisions, same author

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Track Changes - multiple revisions, same author
BillBQ 12.12.2005 22:16:03
When a Word document is tracking changes and a user adds some text to the
document this appears as a Revision in the document. If the same user at a
later time returns to the revision and adds some additional text (track
changes is still on) directly to the end of the previous revision there are
now two modifications to the same area. If I hover the cursor over each one
I can see that they are two distinct insertions at different times. However,
when processing the document with Revisions.Count or using the Reviewing Pane
the entire region is considered a single Revision.

This seems to be a problem because I would like to post process the document
looking for these Revisions based on their respective dates. Unfortunately,
if the 2nd Revision is anywhere after the first character of the original
revision, the Date property of the Revision in VBA is based on the original
Revision's timestamp. The timestamps of both only appear to be accessible
in the 'hover-over' text using the cursor of Word. Does anyone know if there
is a way to access the Date field of the subsequent Revisions in VBA?

TIA, Let me know if this belongs in another forum.
Re: Track Changes - multiple revisions, same author
Cindy M -WordMVP- <C.Meister-C[ at ]hispeed.ch> 13.12.2005 10:57:17
Hi =?Utf-8?B?QmlsbEJR?=,

As far as VBA/the object model is concerned, working with Revisions is decidedly
"buggy" (unreliable). If this is Word 2003, you might try saving as XML and
parsing the XML, instead.

[Quoted Text]
> When a Word document is tracking changes and a user adds some text to the
> document this appears as a Revision in the document. If the same user at a
> later time returns to the revision and adds some additional text (track
> changes is still on) directly to the end of the previous revision there are
> now two modifications to the same area. If I hover the cursor over each one
> I can see that they are two distinct insertions at different times. However,
> when processing the document with Revisions.Count or using the Reviewing Pane
> the entire region is considered a single Revision.
>
> This seems to be a problem because I would like to post process the document
> looking for these Revisions based on their respective dates. Unfortunately,
> if the 2nd Revision is anywhere after the first character of the original
> revision, the Date property of the Revision in VBA is based on the original
> Revision's timestamp. The timestamps of both only appear to be accessible
> in the 'hover-over' text using the cursor of Word. Does anyone know if there
> is a way to access the Date field of the subsequent Revisions in VBA?
>

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net