Microsoft Office 2000/Visual Basic Programmer's Guide   

Matters of Scope

When designing a custom object, you should think carefully about the object's scope and lifetime within the project, as well as that of its properties and methods. The following sections outline some things to consider when deciding how to scope object variables and procedures.