Table of Contents

Objects

creating an object

Dim myObject As SomeClass ' create a reference pointer to an object
Set myObject = New SomeClass ' instantiate the object
 
' or, do it all in one line, but this is frowned upon:
Dim myObject As New SomeClass

destroying an object