Microsoft Office Tutorials and References
In Depth Information
Things to Know about Objects
Experiment with the Immediate window
As I describe in the sidebar earlier in this chapter (see “About the code examples”), the
Immediate window of the VBE is very useful for testing statements and trying out various VBA
expressions. I generally keep the Immediate window visible at all times, and I use it frequently to
test various expressions and to help in debugging code.