This documentation is archived and is not being maintained.

Code Window General Use Keys

Office 2007

Use these key combinations in the Code window:

PressTo
F1Get context-sensitive Help on functions, statements, methods, properties, or events.
F2Display the Object Browser.
F9Set or remove a breakpoint.
CTRL+SHIFT+F9Clear all breakpoints.
F5Run a Sub/UserForm or macro.
F8Execute code one line at a time (single step).
SHIFT+F8Execute code one procedure at a time (procedure step).
CTRL+BREAKStop running a Visual Basic application.
HOMEMove the cursor to the beginning of text in a line.
ENDMove the cursor to the end of text in a line.
Double-click on the split barDelete the split bar.
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.
CTRL+JTurn on ListProperties/Methods.
CTRL+SHIFT+JTurn on List Constants.
CTRL+ITurn on Quick Info.
CTRL+SHIFT+ITurn on Parameter Info.
CTRL+SPACEBARTurn on Complete Word.


Show: