Cut, Copy, Paste, and 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.

Cut

Removes the selected control or text and places it on the Clipboard. You must select at least one character or control for this command to be available. You can undo the Cut command when used on a control.

Toolbar shortcut: tbr_cut_ZA01201694. Keyboard shortcut: CTRL+X or SHIFT+DELETE.

Copy

Copies the selected control or text onto the Clipboard. You must select at least one character or control for this command to be available. You cannot undo the Copy command in the Code window.

Toolbar shortcut: tbr_copy_ZA01201692. Keyboard shortcut: CTRL+C or CTRL+INSERT

Paste

Inserts the contents of the Clipboard at the current location. Text is placed at the insertion point.

Pasted controls are placed in the middle of the form.

You can undo the Paste command in the Code window or in the form if you pasted the control onto the form.

Toolbar shortcut: tbr_pste_ZA01201730. Keyboard shortcut: CTRL+V or SHIFT+INS.

Delete

Deletes the currently selected control, text, or watch expression. You can undo the Delete command only in the Code window.

Note Note

To delete a file from your disk, use the standard deletion procedures for your operating system.

Toolbar shortcut: tbr_del_ZA01201696. Keyboard shortcut: DEL.

Not available at run time.

Show: