Syntax
ToolsReviewRevisions [.ShowMarks] [, .HideMarks] [, .Wrap = number] [, .FindPrevious] [, .FindNext] [, .AcceptRevisions] [, .RejectRevisions]
Remarks
Searches for revision marks or accepts or rejects the selected revisions. The arguments for ToolsReviewRevisions correspond to the options in the Review Revisions dialog box (Revisions command, Tools menu).
You can use only one of the following arguments per ToolsReviewRevisions instruction.
Argument | Explanation | |
.ShowMarks | Displays revision marks in the active document. | |
.HideMarks | Hides revision marks in the active document. | |
.Wrap | Controls what happens if the search begins at a point other than the beginning of the document and the end of the document is reached: 0 (zero) or omitted The search operation ends and the macro continues. 1 The search continues from the beginning of the document to the point where the search began. 2 Word displays a message box asking whether to continue the search from the beginning of the document. | |
.FindPrevious | Searches toward the beginning of the document and selects the nearest text with revision marks. | |
.FindNext | Searches toward the end of the document and selects the nearest text with revision marks. | |
.AcceptRevisions | Accepts the revisions to the selected text. | |
.RejectRevisions | Cancels the revisions to the selected text. |
Example
This example displays revision marks, selects the next marked text, and then accepts the revisions:
ToolsReviewRevisions .ShowMarks ToolsReviewRevisions .FindNext ToolsReviewRevisions .AcceptRevisions
See Also
ToolsCompareVersions, ToolsOptionsRevisions, ToolsRevisions, ToolsRevisionType()