| Start |
|---|
| Adding a Property to a Class A There are three types of property accessors:
Property accessors are often defined in pairs, using both a In the following example, four property accessors are defined for the
|
| Adding Functionality to a Class Any public In a A Procedures can accept arguments of any type, including references to objects of the class being defined. The following example tests whether the current Note the use of the |
| Class module scope, instancing and re-use By default, a new class module is a Private class, so it is only available for instantiation and use within the VBProject in which it is defined. You can declare, instantiate and use the class anywhere in the same project: But often you'll write classes that you'd like to use in other projects without copying the module between projects. If you define a class called RemarksThis article will show how to create a complete custom class in VBA. It uses the example of a |
Read Article
https://develop.horje.com/learn/1434/reference