This documentation is archived and is not being maintained.

Code Window Keyboard Shortcuts

Office 2007

You can use the following shortcut keys to access commands in the Code window.

DescriptionShortcut Keys
View Code windowF7
View Object BrowserF2
FindCTRL+F
ReplaceCTRL+H
Find NextF3
Find PreviousSHIFT+F3
Next procedureCTRL+DOWN ARROW
Previous procedureCTRL+UP ARROW
View definitionSHIFT+F2
Shift one screen downCTRL+PAGE DOWN
Shift one screen upCTRL+PAGE UP
Go to last positionCTRL+SHIFT+F2
Beginning of moduleCTRL+HOME
End of moduleCTRL+END
Move one word to rightCTRL+RIGHT ARROW
Move one word to leftCTRL+LEFT ARROW
Move to end of lineEND
Move to beginning of lineHOME
UndoCTRL+Z
Delete current lineCTRL+Y
Delete to end of wordCTRL+DELETE
IndentTAB
OutdentSHIFT+TAB
Clear all breakpointsCTRL+SHIFT+F9
View shortcut menuSHIFT+F10


Show: