|
Chapter 1
|
The Visual Basic Editor
|
Page 7 of 11
|
Toolbars
in the VB Editor
When
the VB Editor is first used, only the Standard toolbar is
active. Some additional toolbars are available that help with
writing, formatting, and debugging code. In the following exercise, you
will activate these toolbars. Later in the course,
you will use them.
FLASH EXERCISE:
- Open the VB Editor
- Click on the link below to run a Flash
video. Follow the directions and add two useful toolbars to the VB
Editor.
Adding
VB Editor toolbars
Some of the buttons you will use the most in this course are introduced
below.

 |
Run,
Break, Reset: this set of buttons starts, pauses, or
resets the sub or User Form.
Toggle
Breakpoint:
Sets a breakpoint (a place where the code will stop, and puts VB Editor
into break mode) at a code line. Same thing can be accomplished using
F9.
Step
Into: steps through the procedure one line at a time. You
will usually use the F8 key instead, since it is easier.
Indent
and Outdent
a single line or block of code
Comment
or Uncomment
a single line or block of code. Commenting puts an apostrophe in front
of the line, and the VB Editor ignores it. |
|
Click here for feedback and questions about this chapter.
Copyright © 2006-2008 J. Donald McClenagan, PhD, ALL RIGHTS RESERVED
|
|