You could just export the module(s) with the macros as *.BAS files then
re-import those back in after the workbook has gone through the system.
Do you have any event code in the 4 sheets or in the Thisworkbook module?
You will have to export those as *.CLS files and re-import them as Class
Modules, copy the code to your 4 sheets then delete the Class modules.
Chip Pearson has a series of macros for adding modules to a workbook.
http://www.cpearson.com/excel/vbe.htm
BTW.........how does your system actually strip the macros from the file?
Gord