Have more mode for Initialize a Class

Dominex

Active Member
Licensed User
Longtime User
I'm writing a class where I also need a Initialize2 because there are two different ways to make it work, but unfortunately it seems that is not possible, or am I wrong?

At the moment if I add Initialize2 for example, and start with this Sub, instead of Initialize , it gives me error because the class has not been initialized.

 

Dominex

Active Member
Licensed User
Longtime User
No, Dominex is right. You cannot have many Initialize (as he said, you'll get an error with any other sub).
I support his demand (+1).
I see. Of course, a way around the problem is always there, but it's a different thing.

Thank you.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…