R
robot
Hello,
I use the following code to accept all deletions in the selected area of a
document with revision marks:
Dim r As Revision
For Each r In Selection.Range.Revisions
If r.Type = wdRevisionDelete Then r.Accept
Next r
However, no matter what area I selected, the above code always accepts all
deletions in the *entire* document. What went wrong?
I use Office XP and Win XP pro. Suggestions are most welcome.
I use the following code to accept all deletions in the selected area of a
document with revision marks:
Dim r As Revision
For Each r In Selection.Range.Revisions
If r.Type = wdRevisionDelete Then r.Accept
Next r
However, no matter what area I selected, the above code always accepts all
deletions in the *entire* document. What went wrong?
I use Office XP and Win XP pro. Suggestions are most welcome.