Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 81
Default Crash if two programs run at the same time?

will they crash if two programs run at the same time? how to avoid if yes?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,090
Default Crash if two programs run at the same time?

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Crash if two programs run at the same time?

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 163
Default Crash if two programs run at the same time?

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 81
Default Crash if two programs run at the same time?

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Crash if two programs run at the same time?

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
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
Going Between Programs bscuga Excel Discussion (Misc queries) 1 May 6th 08 03:43 PM
removing programs Nick Hodge Excel Programming 0 December 18th 06 08:48 PM
programs take a long time to display adoremus Excel Discussion (Misc queries) 1 May 11th 06 06:28 AM
VBA programs [email protected] Excel Programming 1 August 5th 05 11:32 AM


All times are GMT +1. The time now is 02:25 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"