Datasheet
Using the Visual Basic Editor
580
✦ Split bar: This divvies up the screen for you. Drag the Split bar down to
separate the Code window into two independently scrollable panes.
Drag the Split bar back to the top of the scroll bar to unsplit the window.
✦ Procedure view: When clicked, it hides declarations, and only proce-
dures are visible.
✦ Full Module view: When clicked, it makes declarations and procedures
visible.
✦ Sizing handle: Drag it to size the window. (You can drag any corner or
edge as well.)
Using the Immediate window
The Immediate window, or debug window, in the Visual Basic Editor allows
you to run code at any time, right on the spot. Use the Immediate window for
testing and debugging (removing errors from) code. If the Immediate window
isn’t open in the Visual Basic Editor, you can bring it out of hiding at any
time by choosing View
➪Immediate Window from the editor’s menu.
Object box
Procedure/ Events box
Split box
Procedure view
Full module view Sizing handle
Figure 1-10:
The Code
window
tools.
38_036494 bk08ch01.qxp 11/17/06 8:34 AM Page 580