CanRedo Property
Indicates whether the most recent Undo can be reversed.
Syntax
object.CanRedo
The CanRedo property syntax has these parts:
| Part | Description |
|---|---|
| object | Required. A valid object. |
Return Values
The CanRedo property return values are:
| Value | Description |
|---|---|
| True | The most recent Undo can be reversed. |
| False | The most recent Undo is irreversible. |
Remarks
CanRedo is read-only.
To Redo an action means to reverse an Undo; it does not necessarily mean to repeat the last user action.
The following user actions illustrate using Undo and Redo:
- Change the setting of an option button.
- Enter text into a text box.
- Click Undo. The text disappears from the text box.
- Click Undo. The option button reverts to its previous setting.
- Click Redo. The value of the option button changes.
- Click Redo. The text reappears in the text box.