Redo, Undo Commands (Edit Menu)
Last modified: December 06, 2011
Applies to: Office 2013 | VBA
Reverses the last editing action, such as typing text in the Code window or deleting controls. When you delete one or more controls, you can use the Undo command to restore the controls and all their properties.
Toolbar shortcut . Keyboard shortcuts: CTRL+Z or ALT+BACKSPACE.
You can't undo a Cut operation using the Undo command on a form.
Restores the last text editing or resizing and positioning of controls if no other actions have occurred since the last Undo.
Toolbar shortcut .
For text edits, you can use Undo and Redo to restore up to twenty edits.
These commands are unavailable at runtime, or if there was no previous edit, or if any other action has been performed after the last edit. Also, some large edits may cause low memory conditions that could prevent an Undo action.