1152
Chapter 42 Working with Visual Basic for Applications
Table 42.2 VBA Events
Name of Event What It Means
Click If you ask it to, VBA notifies your program when the user clicks a command
button, picture, or some other part of the custom dialog box.
Double-click VBA determines when a double-click (as opposed to two single clicks) has
occurred, and notifies your program accordingly.
Mouse Move You can set up the dialog box so that VBA tells your program when the
mouse has moved over a command button, picture, or anywhere else on a
custom dialog box.
Key Press When the user presses a key—generally while the insertion point sits in a
text box—you can ...