Object events

In this section, I briefly touch on one more topic that you need to know about: events. Objects respond to various events that occur. For example, when you're working in Excel and you activate a different workbook, an Activate event occurs. You could, for example, have a VBA macro that is designed to execute whenever an Activate event occurs.

Excel supports many events, but not all objects can respond to all events. And some objects don't respond to any events. The concept of an event becomes clear in Chapter 11 and also in Part IV.

0 0

Post a comment