VBA .xlam for multiple workbooks

amarokWPcom

New Member
Joined
May 30, 2019
Messages
25
Good morning,

I have several tools working with which include sometimes the same Subs .

So everytime I found an effort on one Sub and change it in one workbook I repeat this in the other workbooks.

Wasting time - isn’t it?

I want to have one workbook with all Subs inside, soft coded. So they get all variables from the actual workbook I working with.

To keep the code transparent and small I would like to have the start Sub in the actual workbook and Call the necessary Subs out from that.

I would like to have the declaration of the variables and also the setting/filling of the variables only in the starting Sub. Unfortunately only the declaration works but the setting I have to write in every Sub in the .xlam file.

Are their any better ways for this probably for the complete workflow?
 
Last edited by a moderator:

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

Forum statistics

Threads
1,215,004
Messages
6,122,659
Members
449,091
Latest member
peppernaut

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