Quick Watch Dialog Box

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

Gg264188.instwtch_ZA01201619(en-us,office.14).gif

Displays the current value of a selected expression. This functionality is useful when debugging your code if you want to see the current value of a variable, property, or other expression.

Current Context

Lists the names of the project, module, and procedure where the watch expression resides.

Expression

Shows the selected expression.

Value

Shows the value of the selected expression. The current value isn't displayed if the expression context isn't within a procedure listed in the Calls dialog box.

Add

Adds the expression to the Watch window.

Show: