Share via


Document.Undo(Object) Method

Definition

Undoes the last action or a sequence of actions, which are displayed in the Undo list. Returns true if the actions were successfully undone.

public bool Undo (ref object Times);
abstract member Undo : obj -> bool
Public Function Undo (Optional ByRef Times As Object) As Boolean

Parameters

Times
Object

The number of actions to be undone. The default is to undo the last action.

Returns

true if the actions were successfully undone.

Remarks

Optional Parameters

For information on optional parameters, see Optional Parameters in Office Solutions.

Applies to