The following table shows you some helpful shortcut keys, and their functions, available throughout the Visual Basic editor, where you write, edit, and test your VBA code.

Action Shortcut Key
Switch between Access and the VBA editor Alt+F11
Help F1
View Object Browser F2
View properties/events F4
View Code window F7
View Immediate window Ctrl+G
View shortcut menu Shift+F10 (or right-click)
Run a Sub/UserForm F5
Stop code execution Ctrl+Break
Close VBA Editor and return to Access Alt+Q