October 2025
Intermediate to advanced
704 pages
17h 57m
English
In this chapter, you will:
Learn what events are and how to use them
Review the different types of workbook-, worksheet-, chart-, and application-level events
Use a sheet event to quickly enter 24-hour time into a cell
An event allows you to automatically trigger a procedure to run based on something a user or another procedure does in Excel. For example, if a person changes the contents of a cell after they press Enter or Tab, you can have the code run automatically. The event that triggers the code is the changing of the contents of the cell.
You can find events at the following levels:
Application level—Control based on application actions, such as Application_NewWorkbook.
Workbook level—Control ...
Read now
Unlock full access