Export (0) Print
Expand All
Expand Minimize

Menu Shortcut Keys Available in the Code Window

This page is specific to the Visual Basic for Applications (VBA) Language Reference for Office 2010.

Use these key combinations for menu shortcuts in the Code window:

Press

To

CTRL+P

Print

CTRL+Z

Undo

CTRL+V

Paste

DEL or DELETE

Delete

CTRL+F

Find

SHIFT+F4

Find Next

CTRL+H

Replace

TAB

Indent

SHIFT+TAB

Outdent

SHIFT+F2

Definition

CTRL+SHIFT+F2

Last Position

F2

Object Browser

CTRL+G

Immediate Window

CTRL+R

Project Explorer

F4

Properties Window

F8

Step Into

SHIFT+F8

Step Over

CTRL+F8

Run To Cursor

F9

Toggle Breakpoint.

CTRL+SHIFT+F9

Clear All Breakpoints

F5

Run Sub/Form or Run Macro

CTRL+BREAK

Break

SHIFT+F10

Shortcut menu

CTRL+J

List Properties/Methods

CTRL+SHIFT+J

List Constants

SHIFT+F9

Quick Watch

CTRL+M

ImportFile

CTRL+E

Export File

CTRL+I

Quick Info

CTRL+SHIFT+I

Parameter Info

CTRL+SPACEBAR

Complete Word

Show:
© 2015 Microsoft