Visual Basic For Applications - Object Oriented Programming (VBA-OOP)

Visual Basic For Applications - Object Oriented Programming (VBA-OOP)

The same concept applies in Visual Basic For Applications (VBA) as well, in fact, OOP is completely supported including encapsulation, inheritance and polymorphism.

Encapsulation mens that a group of related properties, methods, and other members are treated as a single unit or object. (Wikipedia, 15/Sep/2021).

Inheritance describes the ability to create new classes based on an existing class. (Wikipedia, 15/Sep/2021).

Polymorphism means that you can have multiple classes that can be used interchangeably, even though each class implements the same properties or methods in different ways. (Wikipedia, 15/Sep/2021).






Copyright @ 2025 - CA Vikram Shankar Mathur (vbacoder.1962@gmail.com)

VISUAL
BASIC
FOR
APPLICATIONS
(VBA)
AND
OBJECT
ORIENTED
PROGRAMMING
(OOP)

No comments: