Hi Peterson,
Thank you for your reply. You have handed me the missing link. I did not know about the StoryRanges object. It all makes a bit more sense now.
By the way, in the actual project I am trying to do, I am comparing a template to hundreds of documents that have been created by users from that template. I am trying to determine how much text has been added to that that was already in the template. The code that I displayed was finding the number of characters in each revision (that was the subject of an insert action) with:
dsRevision.Range.Characters.Count
and adding that number to the value currently in: sngCharacters
It works like a charm, it is just that without knowing about the StoryRanges object, I could not account for text boxes that a user may have added and inserted text into.
Cheers,
Downunder Dave
|