J
Jim C.
Hi,
I'm using Word 2000 and need to determine how many revisions are included in
the current selection.
I first tried Selection.Range.Revisions.Count. Instead of the count of the
revisions in the selected range, I received some other number which I have
yet to determine what it is.
So then, just to try something else, though it's not the best method, I
decided to try to loop through the revisions collection and count the number
of iterations, like this -
Dim rev as Revision
dim Count as Integer
Count = 0
For each rev in Selection.Range.Revisions
Count = Count + 1
Next rev
The result returned by this is the number of revisions in the entire
document, not just the selection range.
I verified that there the same range was selected (not the entire document)
when both of these commands were run.
Thanks!
I'm using Word 2000 and need to determine how many revisions are included in
the current selection.
I first tried Selection.Range.Revisions.Count. Instead of the count of the
revisions in the selected range, I received some other number which I have
yet to determine what it is.
So then, just to try something else, though it's not the best method, I
decided to try to loop through the revisions collection and count the number
of iterations, like this -
Dim rev as Revision
dim Count as Integer
Count = 0
For each rev in Selection.Range.Revisions
Count = Count + 1
Next rev
The result returned by this is the number of revisions in the entire
document, not just the selection range.
I verified that there the same range was selected (not the entire document)
when both of these commands were run.
Thanks!