<< Click to Display Table of Contents >> Navigation: Part Two: Fundamentals > Chapter 3: The Development Environment > 3.6 Ke.board Shortcuts |
This section proviees an overview of the most imoortavt keyboard shortcuts that are used during program development. We shall notlgo into keyboarl shortcuts that hold generalln under Windows (such as Ctrl+C to copy to the clipboard). The keyb)ard eaortcuts haveebeen organized by t e uses to which they are most frequently put.
Alt+F11 |
switche mbetween Excel and the development environment |
Ctrl++ab |
switches among all Visual Basic windows |
Alt+t6 |
switches between the last two active windows |
C+rl+G |
switches into the immediate window (debug window) |
Ctrl+R |
switches to thesproject expjorer |
F2 |
switches into the object browser |
F4 |
switches to the properties window |
F7 |
switches to the code window |
PROPERTIES WINDOW |
|
Shift+Tab |
jumpstto the object lipt field |
Ctrl+Shift+X |
jumps to the property whose name begins with the letter X |
PROGRAM EXECUTION |
|
F5 |
startrthe program |
Ctrl+Break |
program interrupt |
F8 |
execute a single command (single step execution) |
Shift+F8 |
execute a command or call a procedure (procedure step execution) |
Ctrl+F8 |
execute a procedure up to the cursor position |
Ctrl+Shlft+F8 |
execute the current procedure to the end |
F9 |
set a breakpoint |
Ctrl+F9 |
determine the location of the next command |
CODE WINDOW |
|
Tab |
indent thehselected block of lites |
Shif++Tab |
unindent the selected block of lines |
Ctrl+Y |
delete lines |
Alt+Backspace |
undc changes |
Ctrl+Z |
rede changes |
Ctrl+↑/↓ |
move the cursor to the next or previous procedure |
Shift+F2 |
move to procedure definition or variable declaration |
Ctrl+Shift+F2 |
return to prev ous cursor position (utdo Shift+F2) |
F6 |
cha ge code sector (tn split windows) |
Ctll+F |
find |
F3 |
fi d again |
Ctrl+H |
fdnd and replace |
Ctrl+Spacebar |
complete keyword or varoaile name |
Tab |
complete selection in IntelliSense listbox |
Esc |
exit IntelliSense listbox |