VBA Attributes VB_Name


Example

VB_Name specifies the class or module name.

Attribute VB_Name = "Class1"

A new instance of this class would be created with

Dim myClass As Class1
myClass = new Class1