MS Excel 2007: Immediate Window in VBA Environment
This Excel tutorial explains the Immediate Window in the VBA environment in Excel 2007 (with screenshots and step-by-step instructions).
See solution in other versions of Excel:
Immediate Window
The Microsoft Visual Basic window displays your VBA environment in Excel 2007:
Next, let's analyze the Immediate window in the VBA environment.
In Excel 2007, the Immediate window is usually found below the Code window. It is an essential element of the debugger found within the VBA environment. It lets you:
- Type code and press ENTER to view the results of the code.
- When in debug mode, it lets you view the value of a variable in its current state. This will be discussed in the tutorial on Debugging VBA Code.
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.
Advertisements