Share via


Multi-Code Export Window

Using the Multi-Code Import/Export add-in, you can easily export portions of your code. To open the Multi-Code Export window, click the Add-Ins menu, and select Multi-Code Export. Use the Multi-Code Export window to locate and export Microsoft® Visual Basic® for Applications (VBA) objects to a target directory. After exporting an object, use the Multi-Code Import window to insert the object from the target directory into another VBA project.

  • Available Objects
    Lists the objects and files available for export. This list is based on the current VBA project selected in the Project Explorer. Click the ">" button to add a selected file or click ">>" to add all available files to the Selected Objects list.

    Note   Host objects, such as the Microsoft® Word This Document Object, will be exported as class modules. When you try to add such objects to the selected objects list, a dialog box will indicate that the object will be exported as a class module and ask if you want to continue.

  • Selected Objects
    Lists the name and type of files selected for export. You can remove objects from the list of selections by clicking "<" or remove everything listed by clicking "<<".

  • Target Folder
    Specifies the directory that will receive the exported objects. To change the target folder, click Browse or type the new path name.

  • Browse
    Use the Browse button to search for a target folder. This button displays the Browse for Folder dialog box.

  • Export
    Copies the selected files to the target folder.

See Also

Multi-Code Import/Export Add-In | Multi-Code Import Window | Select Files to Import Dialog Box (VBA Multi-Code Import/Export) | Browse for Folder Dialog Box (VBA Multi-Code Import/Export) | Multi-Code Export Results Dialog Box (VBA Multi-Code Import/Export)