Clearand Delete Commands (Edit Menu)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Clear

Deletes text only when a module is active.

Delete

At other times, changes to the Delete command that deletes the currently selected control, text, or watch expression. You can undo the Delete command in the Code window or in the form if you deleted the control from the form.

Toolbar shortcut: tbr_del_ZA01201696. Keyboard shortcut: DELETE.

Not available at run time.

Show: