To Import an Existing Component into a Project (VBA/ActiveX)

Modules and user forms can be exported from one project and imported into another.

  1. In the VBA IDE, Project Explorer window, select the project to which you will be adding the component.
  2. From the File menu, click Import File to open the Import File dialog box.
  3. From the Import File dialog box, select the file to import and click Open.