Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Excel 2019 Power Programming with VBA

You're reading from   Excel 2019 Power Programming with VBA Maximize your Excel experience with VBA

Arrow left icon
Product type Paperback
Published in Jun 2019
Publisher Wiley
ISBN-13 9781119514923
Length 784 pages
Edition 1st Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
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

CHAPTER 20
Leveraging Class Modules

What Is a Class Module?

For many VBA programmers, the concept of a class module is a mystery. This feature can be confusing, but the examples in this chapter will help to make it less mysterious.

A class module is a special type of VBA module that you can insert in a VBA project. Basically, a class module enables the programmer (you) to create a new object. As you should know by now, programming Excel really boils down to manipulating objects. A class module allows you to create new objects, along with corresponding properties, methods, and events.

At this point, you might be asking, “Do I really need to create new objects?” The answer is “No.” You don't need to, but you might want to after you understand some of the benefits of doing so. In many...

lock icon The rest of the chapter is locked
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 9,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Excel 2019 Power Programming with VBA
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 £13.99/month. Cancel anytime
Visually different images
Modal Close icon
Modal Close icon