Table of Contents - [Debugging in VBA] Previous Chapter - [Debugging in VBA - 2C) The Properties Pane (F4)] Next Chapter - [Debugging in VBA - 2E) The Object Browser Pane (F2)]
-----------------------------------------------------------------------------------------------
2D) The Immediate Pane (Ctrl-G). This enables both displaying of Debug information as well as executing 'on the fly' code.
In here you can try out all sorts of things. This pane is often used for Debug printing as the results of Debug.? (Print) are sent to this pane. As well as seeing the results of the printing in here, you can also assign values to variables or run most types of code from here. You can call for execution of code as long as it's in scope. Public procedures can be called as well as current-scope variables enquired of, and even set.
When used properly, this pane can be almost as useful as the Code pane itself.