jondecker76
asked on
How do I make a class module?
I'm using the exact same piece of code over and over in every one of my forms, so I thought I would give making a class a try.
However, despite reading several tutorials, none show *how* to actually flag a module as being a class module. In Access 2003, when I go to the modules, and hit new, it just creates a new module like it would any other time - i never get the option of turning it into a class module.
Am I missing something?
However, despite reading several tutorials, none show *how* to actually flag a module as being a class module. In Access 2003, when I go to the modules, and hit new, it just creates a new module like it would any other time - i never get the option of turning it into a class module.
Am I missing something?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Click on the Modules Container
Click on New
After you open a new module, you select Insert -> Class Module from the Module menu bar.
Create your code and it will save a Class1 which you can change, if you wish.
Click on New
After you open a new module, you select Insert -> Class Module from the Module menu bar.
Create your code and it will save a Class1 which you can change, if you wish.
ASKER