Microsoft Office 2000/Visual Basic Programmer's Guide   

Adding a Class Module

To add a class module to your VBA project, click Class Module on the Insert menu in the Visual Basic Editor. Then name the class module by setting its Name property in the Properties window. Keep in mind that the class module will be treated as an object, so use a name that suggests the object's functionality. The name that you assign to the class module will also be the name under which it appears in the Classes list in the Object Browser.

If you've been following this book's naming convention for standard modules, you can forgo the three-letter prefix here. It's best to name an object intuitively. For example, the class in the ListComboWiz.xla sample file that represents a list box or combo box that's bound to data is named BoundList in order to imply its functionality.