Break Command (Run Menu)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Stops execution of a program while it's running and switches to break mode. Any statement being executed when you choose this command is displayed in the Code window with wbrkpnt_ZA01201808 in the left margin if you checked Margin Indicator Bar in the Editor Format tab of the Options dialog box. If the application is waiting for events in the idle loop (no statement is being executed), no statement is highlighted until an event occurs.

Some editing changes made in break mode may require you to restart your program for the changes to take effect.

Toolbar button: tbr_brk_ZA01201682. Keyboard shortcut: CTRL+BREAK.