VBA 2007 Shortcuts for Immediate and Code Windows

To get your tasks done quickly in the Immediate window (which lets you run code anytime, right on the spot) and Code window (used for writing, editing, and viewing VBA) use these VBA shortcuts:































































































































































ActionShortcut Key
Move cursor right one character-→
Select character to rightShift+-→
Move cursor right one wordCtrl+-→
Select to end of wordCtrl+Shift+-→
Move cursor left one character<---
Select character to left of cursorShift+<---
Move cursor left one wordCtrl+<---
Move cursor to start of lineHome
Select text to start of lineShift+Home
Move cursor to end of lineEnd
Select text to end of lineShift+End
Move cursor up a line
Move cursor down a line
Move cursor to next procedureCtrl+↓
Move cursor to previous procedureCtrl+↑
Scroll up one screenPgUp
Scroll down one screenPgDn
Go to top of moduleCtrl+Home
Select all text to top of moduleCtrl+Shift+Home
Go to bottom of moduleCtrl+End
Select all text to bottom of moduleCtrl+Shift+End
Cut selectionCtrl+X
Copy selectionCtrl+C
Paste selectionCtrl+V
Cut current line to ClipboardCtrl+Y
Delete to end of wordCtrl+Delete
Delete character or selected textDelete (Del)
Delete character to left of cursorBackspace
Delete to beginning of wordCtrl+Backspace
UndoCtrl+Z
Indent lineTab
Outdent lineShift+Tab
FindCtrl+F
ReplaceCtrl+H
Find NextF3
Find PreviousShift+F3
Get help with selected wordF1
Get Quick InfoCtrl+I








dummies

Source:http://www.dummies.com/how-to/content/vba-2007-shortcuts-for-immediate-and-code-windows.html

No comments:

Post a Comment