Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Chaining 6 macro modules

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

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 61
Default Chaining 6 macro modules

On Apr 15, 6:23*am, Sherif wrote:
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
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 533
Default Chaining 6 macro modules

No quotes. "Call" is optional.

--
Jim
"Ixtreme" wrote in message
...
On Apr 15, 6:23 am, Sherif wrote:
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


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Chaining 6 macro modules

Thank you very much it worked

"Ixtreme" wrote:

On Apr 15, 6:23 am, Sherif wrote:
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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
What may cause macro modules to be created by accident? herrdue Excel Worksheet Functions 2 July 16th 07 07:02 PM
Macro to import modules into a worksheet michaelberrier Excel Discussion (Misc queries) 1 June 4th 06 08:39 PM
VBA password protected modules MikeFullam Excel Discussion (Misc queries) 1 April 25th 06 10:42 AM
Protected modules MikeFullam Excel Discussion (Misc queries) 0 April 25th 06 10:04 AM
Empty modules damorrison Excel Discussion (Misc queries) 1 March 23rd 06 07:10 PM


All times are GMT +1. The time now is 05:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"