The Immediate Window is located directly below the Code window. It is an essential element of the debugger found within the VBA environment.

If the Immediate Window is not visible when you open the Microsoft Visual Basic window, you can make it visible by selecting Immediate Window under the View menu.

The Immediate Window is helpful for several reasons. It allows you to type code and press ENTER to view the results of the code. In addition, when you are in debug mode, it lets you view the value of a variable in its current state.
Objects in Project Explorer >