Infinite loop when using track changes

F

Frustrated VBAer

I have been unable to find this problem with Word 2003 documented anywhere.

I have written a VBA macro to iterate thorugh the complete set of tracked
changes in a Revisions collection of a document. There are 405 changes in
this document. At some point while stepping through the collection via a
For..Next loop, a deleted Revision object is encountered. Then the previous
2 revisions plus the "deleted" revision are repeated (apparently) infinitely
in the Revisions collection. The indexes of the 3 repeated changes iterate
(63, 64, 65) even though they apparenlty occupy successive positions in the
collection. Obviously, pointers are going awry somewhere within the
Revisions collection.

If you step through the tracked changes using the Word toolbar, the same
thing happens. When you get to the area where the "deleted" Revision/change
object is located, Word appears to hang at the same change forever (the 2
changes prior to the deleted object are in the same table cell).

Anybody have ideas or can anybody point me to potential bug fixes?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top