To Add a New Component to a Project (VBA/ActiveX)

New modules and user forms can be added to a VBA project file.

  1. In the VBA IDE, Project Explorer window, select the project to which you want to add a new component.
  2. From the Insert menu, click UserForm, Module, or Class Module.

    The new component is add to the project and appears in the Project Explorer window.