Muokkaa

Jaa


CanUndo property

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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.