Thread: copy macros?
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.setup
Paul B Paul B is offline
external usenet poster
 
Posts: 709
Default copy macros?

John,
You can drag and drop the modules from one workbook to another in the VBA
editor, just open the workbooks and drag and drop. You can also insert a
blank module in the other workbook and copy an paste the parts that you
want. Or if it on another computer you can export a macro and save it, to do
this from your workbook, right-click the workbook's icon and pick View Code.
This icon is to the left of the "File" menu this will open the VBA editor,
in Project Explorer right click on your workbook name, if you don't see it
press CTRL + r to open the Project Explorer click on the module you want to
save and go to file and export file, then save it to a floppy or what ever
you backup to, then import it to the new workbook..

--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

"John" wrote in message
...
How do I copy macros from one workbook to another?

Thanks

John