Share via


Sharing and Reusing VBA Objects

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

In developing your Microsoft® Office application, you might have created some useful VBA objects that other developers could use. On the other hand, you might know of some Microsoft® Visual Basic® for Applications (VBA) objects created by other developers that you want to get and modify in your current project. You can easily import and export objects with the VBA Multi-Code Import/Export add-in.

In this Section

  • Exporting VBA Objects
    Using the VBA Multi-Code Export add-in, you can share Microsoft® Visual Basic® for Applications (VBA) objects by exporting objects from one VBA project to another location to be imported into a different VBA project.
  • Importing VBA Objects
    Using the VBA Multi-Code Import add-in, you can share Microsoft® Visual Basic® for Applications (VBA) objects by importing existing objects into the current VBA project.