Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 49
Default Run two macros in the same time.

Can I run two macros in the same time?
Thank for the help
Emil.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,290
Default Run two macros in the same time.

Emil,
No you cannot. However, you can "call" a macro from a macro...

Sub MacroToStart
'code to run first
'call the other sub...
MacroDoSomething
'more code that will run after the MacroDoSomething sub is complete.
End Sub

Sub MacroDoSomething
'lots of code to do something else
End Sub
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware


"emil"
wrote in message
Can I run two macros in the same time?
Thank for the help
Emil.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 49
Default Run two macros in the same time.

Thanks, but is not in a same time.
Emil

"Jim Cone" a scris:

Emil,
No you cannot. However, you can "call" a macro from a macro...

Sub MacroToStart
'code to run first
'call the other sub...
MacroDoSomething
'more code that will run after the MacroDoSomething sub is complete.
End Sub

Sub MacroDoSomething
'lots of code to do something else
End Sub
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware


"emil"
wrote in message
Can I run two macros in the same time?
Thank for the help
Emil.


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Run two macros in the same time.

You can not make 2 macros run at the same time. Post your code and perhaps we
can speed up the macros so that you will have no need to run two porcesses
concurrently.
--
HTH...

Jim Thomlinson


"emil" wrote:

Thanks, but is not in a same time.
Emil

"Jim Cone" a scris:

Emil,
No you cannot. However, you can "call" a macro from a macro...

Sub MacroToStart
'code to run first
'call the other sub...
MacroDoSomething
'more code that will run after the MacroDoSomething sub is complete.
End Sub

Sub MacroDoSomething
'lots of code to do something else
End Sub
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware


"emil"
wrote in message
Can I run two macros in the same time?
Thank for the help
Emil.


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
running macros at specified time Davo1 Excel Discussion (Misc queries) 2 August 20th 09 10:31 PM
First time deleting macros [email protected] Excel Discussion (Misc queries) 1 November 16th 07 11:00 PM
Time Delay for Macros [email protected] Excel Discussion (Misc queries) 1 May 15th 07 02:42 PM
running macros at a set time Monica Excel Discussion (Misc queries) 1 December 12th 06 11:03 PM
Two Macros at the same time?? is it possible 0000_AAAA_0000[_8_] Excel Programming 4 November 11th 04 12:46 AM


All times are GMT +1. The time now is 09:11 AM.

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"