Break Command (Run Menu)

This page is specific to the Visual Basic for Applications (VBA) Language Reference for Office 2010.

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 Gg264592.wbrkpnt_ZA01201808(en-us,office.14).gif 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: Gg264592.tbr_brk_ZA01201682(en-us,office.14).gif. Keyboard shortcut: CTRL+BREAK.