Expand Minimize

Margin Indicators

Last modified: December 06, 2011

Applies to: Office 2013 | VBA

Visual Basic contains margin indicators that provide visual cues to certain actions during the editing of your code. If more than one action occurs on a line, the appropriate indicators also appear.

The margin indicators appear in the Margin Indicator bar on left side of the Code window.

You can turn the Margin Indicator Bar on and off in the Editor Format tab of the Options dialog box.

Margin Indicator

Margin Indicator Name

Description

wbrkpnt_ZA01201808

Breakpoint

Indicates that you have set a breakpoint using the Toggle Breakpoint command on the Debug menu. You can toggle the breakpoint by placing your mouse pointer in the margin indicator region and clicking.

wcurline_ZA01201810

Current line of execution

Indicates the line of code that will be executed next. You can drag this margin indicator to a new location within any running code module. If you drag the Current line of execution margin indicator to any non-valid region or line, nothing happens and the indicator returns to the original location.

wbkmark_ZA01201807

Bookmark

Indicates the location of a bookmark set using the Toggle Bookmark command on the Edit menu.

wcallst_ZA01201809

Call Stack Marker

Indicates lines that are currently in the call stack. The Call Stack Marker indicator appears only in break mode.

Show:
© 2014 Microsoft