Datasheet
Using the Visual Basic Editor
578
The Visual Basic Editor provides many tools designed to help you write
code. Most of the tools are optional and can be turned on or off using the
View menu in the Visual Basic Editor menu. The windows are shown in
Figure 1-8. We provide more information on each of the optional windows
when they become relevant to the type of code we’re demonstrating. For
now, knowing how to make them appear and disappear is sufficient.
You can move and size most of the windows in the Visual Basic Editor using
standard methods. For instance, you can move most windows by dragging
their title bars. You size windows by dragging any corner or edge. Most of
the time, you won’t need to have all those optional windows open to write
code. Feel free to close any optional window open in your editor by clicking
its Close (X) button. To open a window, choose View from the menu, and
click the name of the window you want to open.
If you have multiple monitors connected to your computer, you can put the
Access window on one monitor and the Visual Basic Editor window on the
other.
Locals window
Project Explorer
Properties
window
Code
window
Immediate
window
Watches
window
Figure 1-8:
Visual Basic
Editor
components.
38_036494 bk08ch01.qxp 11/17/06 8:34 AM Page 578