The Locals Window

Another useful way of keeping track of the values of program variables is the Locals window. To display this window, shown in Figure 21.4, select Locals Window from the View menu. You do not select what is contained in this window. Rather, the Locals window displays the values and types of all variables, properties, objects, and constants that are in scope at the time the program enters break mode.

Figure 21.4. The Locals window.

Get Office® XP Development with VBA now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.