Copying Modules to and exsiting file

SJ-NY

Board Regular
Joined
Feb 16, 2008
Messages
156
Good Morning

I need to copy several modules from one file to an exsiting file. If I try to export the modules and I type in the name of the exsiting file, I get a message tha tells me the file exsits and if I continue I will overwrite the file.

Can i export the module to an exsiting file or
do I copy the module to the exsiting file?

Thanks

Steven
 

Some videos you may like

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

obiron

Active Member
Joined
Jan 22, 2010
Messages
469
Google for Excel Add-in

this is a way to add one workbook to another so that the VBA code is avaiable to the host workbook. It allows you to write a single 'library' of useful functions that can be shared by workbooks.

If you are the only one who is going to use the workbooks you could also look at personal.xls which will automatically load when you start Excel (but the functions will not be available to everyone else)
 

pgc01

MrExcel MVP
Joined
Apr 25, 2006
Messages
19,884
Hi Steven

Are there so many modules that you cannot simply add them manually?

Or export each of the modules from the source workbook to a temporary file and import it from the target workbook.
 

Watch MrExcel Video

Forum statistics

Threads
1,126,911
Messages
5,621,595
Members
415,847
Latest member
AlpinoHirsch

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top