This documentation is archived and is not being maintained.

Immediate Window Keyboard Shortcuts

Office 2007

Use these key combinations in the Immediate window:

PressTo
ENTERRun a line of selected code.
CTRL+CCopy the selected text to the Clipboard.
CTRL+VPaste the Clipboard contents at the insertion point.
CTRL+XCut the selected text to the Clipboard.
CTRL+LDisplay Call Stack dialog box (break mode only).
F5Continue running an application.
F8Execute code one line at a time (single step).
SHIFT+F8Execute code one procedure at a time (procedure step).
DELETE or DELDelete the selected text without placing it on the Clipboard.
F2Display the Object Browser.
CTRL+ENTERInsert carriage return.
CTRL+HOMEMove the cursor to the top of the Immediate window.
CTRL+ENDMove the cursor to the end of the Immediate window.
SHIFT+F10View shortcut menu.
ALT+F5Runs the error handler code or returns the error to the calling procedure. Does not affect the setting for error trapping on the General tab of the Options dialog box.
ALT+F8Steps into the error handler or returns the error to the calling procedure. Does not affect the setting for error trapping on the General tab of the Options dialog box.


Show: