Microsoft Office 2000/Visual Basic Programmer's Guide |
You can also include your own events in custom classes, and create event procedures that run when those events occur. Creating a custom event is somewhat more complex than creating an event procedure for a built-in event, because your code has to raise the custom event in response to something that happens within the code.