To Reference Another VBA Project (VBA/ActiveX)

References to third-party libraries and other project files can be added to a VBA project.

  1. In the VBA IDE, Project Explorer window, select the project to which you will be adding the reference.
  2. From the Tools menu, click References.
  3. In the References dialog box, click Browse.
  4. In the Add Reference dialog box, select the project file you want to reference and then click Open.
  5. Click OK button to complete the reference addition.