Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 389
Default newbie q: how to run one sub after another

this might be a stupid q to ask but...

I have created 6 macros that I run one after another to perform my task.
Istead of running them one after another I'd like a sub that calls one by one
(in the right order), insted of doing it myself. What would the code be?

I know i can paste the code of each one into the first to make one sub, but
I need the subs like this to individually use them in other tasks.

Thank you,

Steven.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 78
Default newbie q: how to run one sub after another

Hi, in the one sub after its last line and before the End Sub statement, call
the next sub. This should solve all your requirements.

"steven" wrote:

this might be a stupid q to ask but...

I have created 6 macros that I run one after another to perform my task.
Istead of running them one after another I'd like a sub that calls one by one
(in the right order), insted of doing it myself. What would the code be?

I know i can paste the code of each one into the first to make one sub, but
I need the subs like this to individually use them in other tasks.

Thank you,

Steven.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 389
Default newbie q: how to run one sub after another

id rather have one sub that calls subs 1-6 one by one in the right order...
can this be done?

Steven.

"Madhan" wrote:

Hi, in the one sub after its last line and before the End Sub statement, call
the next sub. This should solve all your requirements.

"steven" wrote:

this might be a stupid q to ask but...

I have created 6 macros that I run one after another to perform my task.
Istead of running them one after another I'd like a sub that calls one by one
(in the right order), insted of doing it myself. What would the code be?

I know i can paste the code of each one into the first to make one sub, but
I need the subs like this to individually use them in other tasks.

Thank you,

Steven.

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
Real Newbie newbie question Dave New Users to Excel 0 January 10th 07 07:55 PM
VBA newbie needs a little help BB Excel Programming 2 June 21st 05 10:43 PM
Very newbie Man Utd Excel Programming 1 June 14th 05 07:42 AM
I'm a newbie [email protected] Excel Programming 2 June 8th 05 04:08 PM
Newbie Help szadkowski Excel Programming 3 August 30th 04 09:58 PM


All times are GMT +1. The time now is 08:36 AM.

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

About Us

"It's about Microsoft Excel"