Microsoft Office Tutorials and References
In Depth Information
Chapter 1: What the Heck Is VBA?
✦ Standard modules: Code can also be stored in standard modules. Code in
standard modules is accessible to all objects in your database, not just a
single form or report.
Opening a class module
If you want to view or change the code for a form or report’s class module,
first open, in Design view, the form or report to which the module is
attached. Then click the (Form Design Tools) Design tab, and click the View
Code button in the Tools group, shown near the mouse pointer in Figure 1-2.