Each Reflection session document can include several types of VBA projects. These projects are displayed in the VBA Editor Project Explorer window.
Visual Basic projects are organized into the following folders:
Reflection Objects |
The module that defines methods and properties for each Reflection object. Select an object in the Project Explorer to view its properties and options in the Properties window. For more information, see Using the Reflection Object Model. |
Forms* |
Custom dialog boxes that display information and get input from users. |
Modules |
Code modules that contain the programming procedures and declarations you have added to your project. You can create new modules (Insert > Module) or add your own procedures to an existing module. Double-click a module from the Project Explorer to display the code in the Code window. Note: This is the recommended location for creating macros. |
Class Modules* |
The programming feature for creating user-defined object classes, including methods and properties for these objects. |
References |
Specified projects from which you can run and make calls to macros. Any references you add to the project appear in this folder. Note: By saving macros to the Common project, you can share macros between projects without having to use references. |
*Present only if manually added to the project.