Sometimes when you are debugging or experimenting with an application, you may want to execute individual procedures or evaluate expressions. You can use the Immediate window to accomplish these tasks. You evaluate expressions by printing their values in the Immediate window. However, you cannot save code in the Immediate window.
In the Immediate window you can:
In break mode, a statement in the Immediate window is executed in the context or scope that is displayed in the Call Stack window. For example, if you type Print variable name, your output is the value of a local variable.