Applies To
Frame control, Page object, UserForm object.
Description
Indicates whether the last user action can be undone.
Syntax
object.CanUndo
The CanUndo property syntax has these parts:
Part
Description
object
Required. A valid object.
Return Values
The CanUndo property return values are:
Value
Description
True
The most recent user action can be undone.
False
The most recent user action cannot be undone.
Remarks
CanUndo is read-only.
Many user actions can be undone with the Undo command. The CanUndo property indicates whether the most recent action can be undone.
See Also
CanRedo property, RedoAction method, UndoAction method.
Example
See the CanRedo property example.