What and why do you use class modules? Could someone leave some code samples? What is the difference between class and standard module?
Thanks!!!
Printable View
What and why do you use class modules? Could someone leave some code samples? What is the difference between class and standard module?
Thanks!!!
Classmodules are storage for data and code and is a type of object in runtime. You can make as many instances of a classmodule as you want. If you know what an UDT it's just like an extention to object, so that you have code to handle the vars. The diffrence between modules are just that modules are just one code storage while classmodules can appear in many instances handling same thing with independent variables to each class.