Chaining 6 macro modules

  • Thread starter Thread starter Sherif
  • Start date Start date
S

Sherif

I have six separate VBA macro modules and I need a way to run them one after
the other instead of clicking on each one, can I create a seventh macro to
chain them together?
Thank you very much
 
I have six separate VBA macro modules and I need a way to run them one after
the other instead of clicking on each one, can I create a seventh macro to
chain them together?
Thank you very much

You could call them in your seventh macro like
Sub seven

'call macro 1'
'call macro 2'
end sub

etc
 
No quotes. "Call" is optional.

--
Jim
I have six separate VBA macro modules and I need a way to run them one
after
the other instead of clicking on each one, can I create a seventh macro to
chain them together?
Thank you very much

You could call them in your seventh macro like
Sub seven

'call macro 1'
'call macro 2'
end sub

etc
 
Thank you very much it worked

Ixtreme said:
You could call them in your seventh macro like
Sub seven

'call macro 1'
'call macro 2'
end sub

etc
 

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

Back
Top