modules that run modules

J

jim

Hello,
I have two modules in the same project. I would like to
execute the second module at the end of the first module.
I know I can put both subs in the same module but I would
like to keep the modules seperate. Does anyone know of a
way I can execute a module within a module?

Jim
 
F

Frank Kabel

Hi
you won't call a module but a sub or function within a module. Just use
something like

sub main_macro()
'do something
second_macro
end sub

'in a separate module
sub second_macro()
'do something else
end sub
 
Top