Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Excel 2019 Bible

You're reading from   Excel 2019 Bible The complete guide to Excel 2019

Arrow left icon
Product type Paperback
Published in Dec 2018
Publisher Wiley
ISBN-13 9781119514787
Length 1120 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (3):
Arrow left icon
John Walkenbach John Walkenbach
Author Profile Icon John Walkenbach
John Walkenbach
Michael Alexander Michael Alexander
Author Profile Icon Michael Alexander
Michael Alexander
Dick Kusleika Dick Kusleika
Author Profile Icon Dick Kusleika
Dick Kusleika
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

1. Cover FREE CHAPTER
2. Introduction 3. Part I: Getting Started with Excel 4. Part II: Working with Formulas and Functions 5. Part III: Creating Charts and Other Visualizations 6. Part IV: Managing and Analyzing Data 7. Part V: Understanding Power Pivot and Power Query 8. Part VI: Automating Excel 9. Index
10. End User License Agreement

CHAPTER 46
Working with Excel Events

In the preceding chapters, we presented a few examples of VBA event-handler procedures for ActiveX controls. These procedures are the keys to making your Excel applications interactive. This chapter introduces the concept of events for Excel objects and includes many examples that you can adapt to meet your own needs.

Understanding Events

Excel monitors a variety of events and can execute your VBA code when any of these events occur. This chapter covers the following types of events:

  • Workbook events These occur for a particular workbook. Examples include Open (the workbook is opened or created), BeforeSave (the workbook is about to be saved), and NewSheet (a new sheet is added). You must store VBA code for workbook events in the ThisWorkbook code module.

    Worksheet events These occur for a particular worksheet....

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime