PC Review


Reply
Thread Tools Rate Thread

how to do other things while excel runs my simulation

 
 
=?Utf-8?B?dml2bWFoYQ==?=
Guest
Posts: n/a
 
      10th Jul 2007
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 With Quote
 
 
 
 
=?Utf-8?B?V2lnaQ==?=
Guest
Posts: n/a
 
      11th Jul 2007
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 With Quote
 
=?Utf-8?B?dml2bWFoYQ==?=
Guest
Posts: n/a
 
      11th Jul 2007
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 With Quote
 
=?Utf-8?B?V2lnaQ==?=
Guest
Posts: n/a
 
      11th Jul 2007
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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
excel simulation formula larry Microsoft Excel Worksheet Functions 1 1st Oct 2008 05:06 PM
Creating Excel simulation in VBA Drews Microsoft Excel Programming 1 4th Jun 2007 02:09 PM
Blackjack simulation in Excel G Love Microsoft Excel Discussion 4 9th Nov 2005 12:25 PM
can excel do Monte Carlo simulation? =?Utf-8?B?UHJhZHM=?= Microsoft Excel Misc 2 19th May 2005 08:28 PM
Montw Carlo Simulation in excel Ricardo Moreno Microsoft Excel Programming 1 11th Jan 2005 03:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:17 PM.