Thanks for your response.
Yes I am aware that you can reference code within another workbook, but it is not applicable in this case.
I have a financial reporting system setup within Excel. This is used in a number of overseas offices. Each week, these offices will run a function to create a copy to return to the UK office. It is currently setup so that this copy contains no formulas or code. However, it is now required that the copy keeps the code fro the print function only. There fore my question was so that I can copy the print code across to the copy file.
I have tried using your code. I added the first two lines when the source workbook is active, and the last three lines when the target workbook is active. However, I am getting the following error:
********************************************************
Run-time error '32813'
Application-defined or object-defined error
********************************************************
Any ideas why this may be?
For information, I have also been given an alternative method, as follows:
Workbooks("Source.xls"

.VBProject.VBComponents("Module1"

.Export "c:\code.bas"
Workbooks("Target.xls"

.VBProject.VBComponents.Import("c:\code.bas"

.Name="Module1"
Kill ("c:\code.bas"
I have tested this, and it gives the desired result, but I would still be interested in getting your suggestion working.
Thanks.