Create a class module that is not associated with a form or report

Create a class module that is not associated with a form or report

  1. In the Database window or in the Visual Basic Editor, click Class Module on the Insert menu.

    An empty class module appears in the Visual Basic Editor.

  2. Add any declarations and procedures that you want to the module.

  3. To save the module, click Save on the toolbar, and specify a name for the class module in the Save As dialog box.

To open the class module after you save it for the first time, in the Database window, click Modules under Objects, and click Design.

For information on using class modules, click . Also, see Building Applications with Forms and Reports.