Display the value of variables in the Visual Basic Editor Locals window

Display the value of variables in the Visual Basic Editor Locals window

  1. Suspend execution of Visual Basic code.

    How?

  2. Click Locals Window on the View menu.

In the Locals window, Microsoft Access automatically displays the name, current value, and type of all the variables and objects in the current procedure. The values in the Locals window are updated each time you suspend code execution. You can change the value of a variable in the Locals window by selecting the existing value and entering the new value.