To export the Visual Basic for Applications macros for a module from the Visual Basic for Applications IDE:
Rational® Rhapsody® also enables you to import an existing module or form to the project.
A copy of the file is added to the project and the original file is left intact. If you import a form or module with the same name as an existing form or module, the new form or module file is added with a number appended to its name.