Like calling a procedure in some instance of a form, calling a procedure in a class module requires that the call to the procedure be qualified with a variable that points to an instance of the class. For example, DemoClass is an instance of Class1:
Dim DemoClass as New Class1
DemoClass.SomeSub
No comments:
Post a Comment