8.1. What Is an Object?

VBA-enabled applications (and many other modern applications) consist of a number of discrete objects, each with its own characteristics and capabilities.

Building an application out of objects is called object-oriented programming (OOP). In theory, object-oriented programming has a number of benefits — for example, the code is easy to build and maintain, because you break it down into objects of a manageable size.

Object-oriented programs should also be easier to understand than monolithic programs, because it's less difficult for most people to grasp the concept of individual objects with associated characteristics and actions than to remember a far longer list of capabilities for the application as a whole. Locating ...

Get Mastering VBA for Microsoft Office 2007, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.