1 |
Event procedures are named as follows.
|
2 |
Sub Objectname_Event()
|
3 |
I.e.. If a right-click event is to be detected by a sheet then use the following
|
4 |
Sub Worksheet_BeforeRightClick()
-
Events can also occur on forms and dialog boxes. Different controls present on the form can trigger different events.
-
Eg. A button control on the form can recognize the Clicked event
-
The naming convention for event procedures is as above.
|