Calling other modules in a module

vbacoder

Active Member
Joined
Jul 7, 2007
Messages
354
Hi Everyone,

Is there any way to call one module from another in VBA?... or do all called routines/subs have to be within the same module?

Thanks,

vcoder
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

vbacoder

Active Member
Joined
Jul 7, 2007
Messages
354
Hi VOGII,

Thanks for your reply. I tried to do this, but it didn't work.... only worked with subs and functions within the same module. It should be possible, but it must be something to do with the way I call and pass variables.

vcoder
 
Upvote 0

Forum statistics

Threads
1,190,962
Messages
5,983,873
Members
439,868
Latest member
Shadrack

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
Top