?Module code copy

  • Thread starter Thread starter gabch
  • Start date Start date
G

gabch

Dear all,

If I write VBA codes and store in Module.
How can I copy the whole Module to new workbook through VBA?

Best regards
 
gabch, see if this will help,

http://www.cpearson.com/excel/vbe.htm

--
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
 
Manually in the VBE - right click the module and choose Export. Save in the
desired location. In the target workbook, within the VBE right click the
VBAProject and choose import file.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top