Chapter 16Building Modular Code and Using Classes

This chapter shows you how to start building modular code—code broken up into individual components rather than all built together into a monolithic mass. You'll also see how to create reusable code that you can paste into future macros.

The second part of this chapter discusses how to build and use your own classes in VBA to implement custom objects, put information into them, process information within them, and retrieve information from them.

Creating Modular Code ...

Get Mastering VBA for Microsoft Office 365, 2019th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.