Code window general use keys
Use these key combinations in the Code window.
Press | To |
---|---|
F1 | Get context-sensitive Help on functions, statements, methods, properties, or events. |
F2 | Display the Object Browser. |
F9 | Set or remove a breakpoint. |
CTRL+SHIFT+F9 | Clear all breakpoints. |
F5 | Run a Sub/UserForm or macro. |
F8 | Execute code one line at a time (single step). |
SHIFT+F8 | Execute code one procedure at a time (procedure step). |
CTRL+BREAK | Stop running a Visual Basic application. |
HOME | Move the cursor to the beginning of text in a line. |
END | Move the cursor to the end of text in a line. |
Double-click on the split bar | Delete the split bar. |
SHIFT+F10 | View shortcut menu. |
ALT+F5 | Runs the error handler code or returns the error to the calling procedure. Does not affect the setting for error trapping on the General tab of the Options dialog box. |
ALT+F8 | Steps into the error handler or returns the error to the calling procedure. Does not affect the setting for error trapping on the General tab of the Options dialog box. |
CTRL+J | Turn on ListProperties/Methods. |
CTRL+SHIFT+J | Turn on List Constants. |
CTRL+I | Turn on Quick Info. |
CTRL+SHIFT+I | Turn on Parameter Info. |
CTRL+SPACEBAR | Turn on Complete Word. |
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기