Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Using UserForm Events
A UserForm supports quite a few events, and each control placed on a UserForm has its own set of events. Table 19-5 lists the UserForm events that you can use.
Table 19-5: Events Recognized by a UserForm
|
Event |
Action That Triggers the Event |
|
Activate |
The UserForm is activated. |
|
AddControl |
A control is added at runtime. |
|
BeforeDragOver |
A drag-and-drop operation is in progress while the pointer is over the form. |
|
BeforeDropOrPaste |