Similar to the standard modules that you create, you can also create class modules with the Visual Basic Editor. You usually begin a class module in Design view for a form or report. In most cases, class modules are associated with events such as clicking a form button or opening the form. Unlike standard modules, class modules do not appear in the Modules Object list in the Database window. Instead, you can access them from within the Project Explorer.
Create a Class Module for a Form or Report