XL97: How to Create Application Level Event Handlers (158244)
The information in this article applies to:
- Microsoft Excel 97 for Windows
This article was previously published under Q158244 SUMMARY
If you want a particular event handler to run whenever a certain event is
triggered, you can write an event handler for the Application object. Event
handlers for the Application object are global, which means that as long as
Microsoft Excel is open, the event handler will run when the appropriate
event occurs, regardless of which workbook is active when the event occurs.
This article describes how to create an Application level event handler and
provides an example.
REFERENCES
For more information about Class Modules, in the Visual Basic Editor click
"Contents and Index" on the Help menu, click the Index tab, type the
following text
and then double-click the selected text to go to the "Module and Class
Module Commands (Insert Menu)" topic.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdtacode kbhowto kbProgramming KB158244 |
---|
|