Right click on a module in the VBA Project explorer window, and select Export File to export the module

Right click on an object or module in the VBA Project explorer window, and select Import File to import a module.