Copying A Macro to Additional Excel Files

lkmw

Board Regular
Joined
Jul 1, 2005
Messages
53
Hello -- I'm new to macros and need some help...seems like this should be easy but I'm having trouble. The answer I found in Excel's HELP is not working for me.

I wrote a very simple macro in one excel file that prints several worksheets in the file. I want this same macro in additional Excel files. How do I copy it to the additional files?

Thanks
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
You don't need to copy macros to other workbooks. Simply have the workbook open or hidden so that the macro will always be there. I usually designate one workbook for all macros to keep things central. To hide the workbook simply do a Window-->Hide
 
Upvote 0
You can also export it in the VBE and then import it into whatever workbook you want it in.
 
Upvote 0

Forum statistics

Threads
1,213,546
Messages
6,114,251
Members
448,556
Latest member
peterhess2002

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
Back
Top