Reference Types
A reference type is also known as an Object data type.
When you want to assign something to a reference type you must use the Set statement.
Class | A Class module is a special type of module that lets you create your own customised objects. |
Collection | A collection is a special type of object that represents a group of objects. |
Object | The object data type contains a reference (or an address) to an actual object. |
Classes
Dim oEmployee As class_Employee
Set oEmployee = New class_Employee
Collections
Dim colEmployees As New Collection
Call colEmployees.Add(Item:="item", Key:="key")
Objects
Dim oMyObject As Object
Set oMyObject = Library.ClassName
© 2023 Better Solutions Limited. All Rights Reserved. © 2023 Better Solutions Limited TopPrevNext