_Document.Undo Method
Undoes the last action or a sequence of actions, which are displayed in the Undo list. Returns True if the actions were successfully undone.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Function Undo ( _
ByRef Times As Object _
) As Boolean
'Usage
Dim instance As _Document
Dim Times As Object
Dim returnValue As Boolean
returnValue = instance.Undo(Times)
bool Undo(
ref Object Times
)
Parameters
- Times
Type: System.Object%
Optional Object. The number of actions to be undone.
Return Value
Type: System.Boolean