title | keywords | f1_keywords | ms.assetid | ms.date | ms.localizationpriority | |
---|---|---|---|---|---|---|
Use Quick Watch (VBA) |
vbhw6.chm1105206 |
|
33bde325-8548-e8f3-cb99-86378643ffe7 |
12/27/2018 |
medium |
In break mode, you may want to check the current value of a variable or expression for which you haven't defined a watch expression. Do this by using the Quick Watch command.
To display a Quick Watch
-
Select an expression in the module where it resides.
-
From the Debug menu, choose Quick Watch (SHIFT+F9). The Quick Watch dialog box displays the current value of the expression you selected, or right-click and choose Quick Info from the context menu. The data type of the expression is displayed.
-
To add a watch expression based on the expression in the Quick Watch dialog box, choose Add.
[!includeSupport and feedback]