Microsoft Office 2000 Developer |
Using the VBA Multi-Code Import add-in, developers can share VBA objects by importing existing objects into the current VBA project.
Note In order to use the VBA Multi-Code Import add-in, you must first load it into the Office environment. For information on installing the Office 2000 Developer add-ins, see Accessing Office 2000 Developer Tools.
To import VBA objects to your project
For example, if you just exported some VBA objects, you can browse to the target ..\Export folder to display a list of possible objects for importing.
Where necessary to avoid duplicate names, a sequential number is appended to each imported VBA object as it is copied into the Class Modules folder. For example, if the original object name was Sheet2, the imported name in the Class Modules folder is Sheet21.
Imported objects are inserted into your project and — because they are copies — belong to your project. There is no association with the original project where the objects were selected for import.