Copy Sheet Object Module

F

Filo

Hello,
I have both a sheet object module and a standard module that I need to copy
to all workbooks in a folder. What would be the code to help me accomplish
that? Any help/suggestion wold be appreciated. Thank you.

Filo
 
N

NickHK

Depending if you mean manually:
The standard module you can export, then import into each of the WBs
The sheet needs to be copied to each of the WBs, as it cannot "live" outside
of a WB, if you need the WS data. If you only need the code, you can export
it and it will become a class module, which you can then import.
The destination WBs will need to be open to import.

If you mean by code:
http://www.cpearson.com/excel/vbe.htm

NickHK
 

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

Top