Add New Components

AutoCAD ActiveX

 
Add New Components
 
 
 

Adding new components creates a blank component in your project. You can add new modules, forms, and class modules to your project. You are responsible for updating all the properties of the component (such as the name of the component) and for filling in the appropriate code. When naming new components, remember that other developers may want to use your components in future applications. Follow the appropriate naming conventions for your development team.

To add a new component to your project

  1. In the Project window of the VBA IDE, select the project to which you will be adding the component.
  2. From the Insert menu, select UserForm, Module, or Class Module to add the new component to your project.

    The new component will be added to your project and will appear in the Project window.