Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 42
Default how to do other things while excel runs my simulation

Hi,

My excel (VBA) simulation takes 6 hours to run. I need to do work while it
is running. Whenever I try to go to another application, when the simulation
runs, excel periodically places me back in its window. So lets say i'm typing
in Word, i'll get pulled into excel, and my typing wuld apper in excel (and
my simulation will crash...).

What to do?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 396
Default how to do other things while excel runs my simulation

Hi

1. Are you sure your code can't be optimized? 6 hours seems forever...

2. What exactly are you doing / using in the code? Do you use a lot of
Activate?

--
Wigi
http://www.wimgielis.be = Excel/VBA, soccer and music


"vivmaha" wrote:

Hi,

My excel (VBA) simulation takes 6 hours to run. I need to do work while it
is running. Whenever I try to go to another application, when the simulation
runs, excel periodically places me back in its window. So lets say i'm typing
in Word, i'll get pulled into excel, and my typing wuld apper in excel (and
my simulation will crash...).

What to do?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 42
Default how to do other things while excel runs my simulation

The code cant be optimized :(
No activates. No selects.

I figured out what the problem was. I use some 3rd party code that probably
does use those things. Argh.

Thans.

"Wigi" wrote:

Hi

1. Are you sure your code can't be optimized? 6 hours seems forever...

2. What exactly are you doing / using in the code? Do you use a lot of
Activate?

--
Wigi
http://www.wimgielis.be = Excel/VBA, soccer and music


"vivmaha" wrote:

Hi,

My excel (VBA) simulation takes 6 hours to run. I need to do work while it
is running. Whenever I try to go to another application, when the simulation
runs, excel periodically places me back in its window. So lets say i'm typing
in Word, i'll get pulled into excel, and my typing wuld apper in excel (and
my simulation will crash...).

What to do?

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 396
Default how to do other things while excel runs my simulation

OK, thanks for letting us know.


--
Wigi
http://www.wimgielis.be = Excel/VBA, soccer and music


"vivmaha" wrote:

The code cant be optimized :(
No activates. No selects.

I figured out what the problem was. I use some 3rd party code that probably
does use those things. Argh.

Thans.

"Wigi" wrote:

Hi

1. Are you sure your code can't be optimized? 6 hours seems forever...

2. What exactly are you doing / using in the code? Do you use a lot of
Activate?

--
Wigi
http://www.wimgielis.be = Excel/VBA, soccer and music


"vivmaha" wrote:

Hi,

My excel (VBA) simulation takes 6 hours to run. I need to do work while it
is running. Whenever I try to go to another application, when the simulation
runs, excel periodically places me back in its window. So lets say i'm typing
in Word, i'll get pulled into excel, and my typing wuld apper in excel (and
my simulation will crash...).

What to do?

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
VBA macro runs fine, but freezes if I try to do ANYTHING else whileit runs Rruffpaw Setting up and Configuration of Excel 1 September 17th 11 01:25 PM
excel simulation formula larry Excel Worksheet Functions 1 October 1st 08 05:06 PM
How to use Monte Carlo Simulation in Excel? Suparna Excel Discussion (Misc queries) 6 June 2nd 08 11:20 AM
Creating Excel simulation in VBA Drews Excel Programming 1 June 4th 07 02:09 PM
can excel do Monte Carlo simulation? Prads Excel Discussion (Misc queries) 2 May 19th 05 08:28 PM


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