We help IT Professionals succeed at work.

How do I make a class module?

jondecker76
jondecker76 asked
on
341 Views
Last Modified: 2013-11-28
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?
Comment
Watch Question

President / Owner
CERTIFIED EXPERT
Fellow
Most Valuable Expert 2017
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
Thanks, just what I was looking for
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.
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.