Revisions Collection

J

Jim C.

Hi,

I need to loop through revisions within a selection to perform some actions.
When I try using the following loop, it returns revisions throughout the
entire document, not just those within the selection (I have conformed that
the selection is not the entire document). Does anyone know why?

For each rev in Selection.Range.Revisions
.....
.....
Next rev


Thanks!

Jim
 
D

Doug Claar

The Revisions collection seems to be broken in general. See my note "Track
changes in word 2003 problem" in this forum for the problems I ran into. If
you get it to work, please post here!

Thanks,
==Doug Claar
 
J

Jim C.

Hi,

I found that the count of revisions within a selection works, and so am able
to use that to control a loop, instead of trying directly through the
revisions collection. Now my loop is something like this....

For i = 1 to Selection.Range.Revisions.Count

code here referencing the revision as Selection.Range.Revisions.Item(i)

Next i

fyi...I am doing this in Word 2000.

Jim
 

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