Export Modules from Workbook & Import

Jaye7

Well-known Member
Joined
Jul 7, 2010
Messages
1,060
I would like a vba script which will export all modules from workbook named excel template and then would import the modules into ALL open workbooks.
Your help would be appreciated.
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Thanks Simon, however I had previously checked out C Pearsons site but I can't get the right code that will copy into ALL open workbooks, the codes I have will copy a module into a set workbook only.
 
Upvote 0
You may want to invest the time to learn how to create an add-in rather than proliferating code in multiple workbooks.
I would like a vba script which will export all modules from workbook named excel template and then would import the modules into ALL open workbooks.
Your help would be appreciated.
 
Upvote 0
Hi Tusharm,

If you looked at both threads they are different questions, one relates to userforms and the other relates to modules, but part of the question relates to both, I didn't want an administrator slamming me for asking two different questions in one thread.
 
Upvote 0

Forum statistics

Threads
1,216,075
Messages
6,128,659
Members
449,462
Latest member
Chislobog

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