Class modules

Class modules are code modules that contain code related to custom objects. As we will see, the Excel object model has a great many built-in objects (almost 200), such as workbook objects, worksheet objects, chart objects, font objects, and so on. It is also possible to create custom objects and endow them with various properties. To do so, we would place the appropriate code within a class module.

However, since creating custom objects is beyond the scope of this book, we will not be using class modules. (For an introduction to object-oriented programming using VB, allow me to suggest my book, Concepts of Object-Oriented Programming with Visual Basic, published by Springer-Verlag, New York.)

0 0

Post a comment