T
Tom Grant
Hello everyone,
I think I have found a bug that I have not seen posted. I have seen this
problem in Word 2000, XP, and 2003, which leads me to believe that either I
am doing something wrong, the bug has not been reported, or no one really
cares for a fix.
The Possible Bug:
This is how I produce the problem.
1) I open a new document.
2) Insert a 2x2 table.
3) Turn on track changes.
4) I type "Insert 1" into cell 1.
5) I type "Insert 2" into cell 4.
6) I select the two rows by dragging cursor from cell 1 to cell 4.
7) I change the font size from 12 to 8 pt.
8) In the immediate window in vba, I typed the follow:
debug.Print ActiveDocument.Range.Revisions.Count
9) Hit enter
10)In the immediate window in vba, I typed the following:
debug.Print ActiveDocument.Range.Revisions(1).Type
11) Hit enter
12) I repeated 10 and 11 for each Revision up to 4.
I get a result of 4 in step 8. I am guessing that it is the two
inserts and then a format change for each row. Is this a correct
assumption?
If so, then I would expect two of the revisions to have revision
type 1 (Insert) and the other two to have revision type 3 (Format change).
However, I got three of the revisions with revision type 1 and
only one revision had type 3.
The revision that I would expect to be a 3 has an index of 2. When
I type the following in the immediate window the entire first row is
selected.
ActiveDocument.Range.Revisions(2).Range.Select
Can anyone else confirm this bug? Or even better show me the error
of my ways.
Thanks
Tom
I think I have found a bug that I have not seen posted. I have seen this
problem in Word 2000, XP, and 2003, which leads me to believe that either I
am doing something wrong, the bug has not been reported, or no one really
cares for a fix.
The Possible Bug:
This is how I produce the problem.
1) I open a new document.
2) Insert a 2x2 table.
3) Turn on track changes.
4) I type "Insert 1" into cell 1.
5) I type "Insert 2" into cell 4.
6) I select the two rows by dragging cursor from cell 1 to cell 4.
7) I change the font size from 12 to 8 pt.
8) In the immediate window in vba, I typed the follow:
debug.Print ActiveDocument.Range.Revisions.Count
9) Hit enter
10)In the immediate window in vba, I typed the following:
debug.Print ActiveDocument.Range.Revisions(1).Type
11) Hit enter
12) I repeated 10 and 11 for each Revision up to 4.
I get a result of 4 in step 8. I am guessing that it is the two
inserts and then a format change for each row. Is this a correct
assumption?
If so, then I would expect two of the revisions to have revision
type 1 (Insert) and the other two to have revision type 3 (Format change).
However, I got three of the revisions with revision type 1 and
only one revision had type 3.
The revision that I would expect to be a 3 has an index of 2. When
I type the following in the immediate window the entire first row is
selected.
ActiveDocument.Range.Revisions(2).Range.Select
Can anyone else confirm this bug? Or even better show me the error
of my ways.
Thanks
Tom