Note To run code when the Initialize event occurs, you must place that code within the Initialize event procedure in a class module.
Remarks
The Initialize event occurs when you:
Create a new instance of a class directly by using the New keyword with the Set statement.
Dimension an object variable using the New keyword and creating an instance of a class indirectly by setting or returning a property or applying a method defined in the class module.