Selection.PreviousRevision Method
Word Developer Reference |
Locates and returns the previous tracked change as a Revision object.
Syntax
expression.PreviousRevision(Wrap)
expression Required. A variable that represents a Selection object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
Wrap | Optional | Variant | True to continue searching for a revision at the end of the document when the beginning of the document is reached. The default value is False. |
Return Value
Revision
Example
This example selects the last tracked change in the first section in the active document and displays the date and time of the change.
Visual Basic for Applications |
---|
|
This example rejects the previous tracked change found if the change type is deleted or inserted text. If the tracked change is a style change, the change is accepted.
Visual Basic for Applications |
---|
|
See Also