http://www.cpearson.com/excel/Classes.aspx
NOTE: It is also possible to combine the two statements above into a single statement:
Dim C As New Class1
This is called an auto-instancing variable. When the variable C is first encountered in code, a new instance is created. In general, you should avoid auto-instancing variables for two reasons:
First, it adds overhead to the code because the variable must be tested for Nothing every time it is encountered in code.
Second, you have no way to test whether a auto-instancing variable is Nothing because the very act of using the variable name in an …