Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
will they crash if two programs run at the same time? how to avoid if yes?
|
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
What two programs? What is it you want to do? Do you mean two versions of
Excel? HTH Otto "Angus" wrote in message ... will they crash if two programs run at the same time? how to avoid if yes? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Windows has multitasking capability. Whether you can run VBA macros
simultaneously would depend a lot on how they are constructed and whether you are using the same instance of Excel to do it. I would suggest browsing the web for some background on multi-tasking and multi-threading before trying it. "Angus" wrote: will they crash if two programs run at the same time? how to avoid if yes? |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Angus,
whether same time is possible at all is debatable. Usually, one after the other. The programs get time slices, a part of time for program 1, a part of time for program 2. If you got two different machines, then it is ok. But imagine two programs from two different machines writing data at the same time to a mass storage. Which will win? -- Greetings from Bavaria, Germany Helmut Weber, MVP WordVBA Win XP, Office 2003 "red.sys" & Chr$(64) & "t-online.de" |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Say, i have a vba excel program runs every 3pm. It will take about 15 minutes
to run. If I run another vba excel at 2:55pm and it will take 25 minutes to run, and the above program runs at 3pm, what happen? "Helmut Weber" wrote: Hi Angus, whether same time is possible at all is debatable. Usually, one after the other. The programs get time slices, a part of time for program 1, a part of time for program 2. If you got two different machines, then it is ok. But imagine two programs from two different machines writing data at the same time to a mass storage. Which will win? -- Greetings from Bavaria, Germany Helmut Weber, MVP WordVBA Win XP, Office 2003 "red.sys" & Chr$(64) & "t-online.de" |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Angus,
Depends how these 2 jobs are scheduled and whether they are connected in some way, either in code or in the same instance of Excel. If you are using Application.OnTime, read the help, as it says the first argument is "Earliest time". However, without more details of what you doing and how, the answer is "Yes, No, Maybe". NickHK "Angus" wrote in message ... Say, i have a vba excel program runs every 3pm. It will take about 15 minutes to run. If I run another vba excel at 2:55pm and it will take 25 minutes to run, and the above program runs at 3pm, what happen? "Helmut Weber" wrote: Hi Angus, whether same time is possible at all is debatable. Usually, one after the other. The programs get time slices, a part of time for program 1, a part of time for program 2. If you got two different machines, then it is ok. But imagine two programs from two different machines writing data at the same time to a mass storage. Which will win? -- Greetings from Bavaria, Germany Helmut Weber, MVP WordVBA Win XP, Office 2003 "red.sys" & Chr$(64) & "t-online.de" |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Going Between Programs | Excel Discussion (Misc queries) | |||
removing programs | Excel Programming | |||
programs take a long time to display | Excel Discussion (Misc queries) | |||
VBA programs | Excel Programming |