#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 54
Default Time Hog

Using Excel 2003, I have a VBA program that I use to do Monte Carlo
analysis. Sometimes I run it for an hour or two. My one gripe with it is
that it hogs the whole machine and makes it difficult to use other programs
in the foreground. Generally I run it at night and don't care, but
occasionally I need to run it during the day.

Is there some way to tell VBA to limit the machine time it burns -- to force
it to pass off XP's multitasking off to the next task? Or to tell XP-Home
to limit how much resource gets allocated to Excel?

Thanks.

Bill

  #2   Report Post  
Posted to microsoft.public.excel.programming
N10 N10 is offline
external usenet poster
 
Posts: 141
Default Time Hog


"Bill Martin" wrote in message
...
Using Excel 2003, I have a VBA program that I use to do Monte Carlo
analysis. Sometimes I run it for an hour or two. My one gripe with it is
that it hogs the whole machine and makes it difficult to use other
programs in the foreground. Generally I run it at night and don't care,
but occasionally I need to run it during the day.

Is there some way to tell VBA to limit the machine time it burns -- to
force it to pass off XP's multitasking off to the next task? Or to tell
XP-Home to limit how much resource gets allocated to Excel?

Thanks.

Bill



Good point Bill if there is a way to partion processor usage I would love
to know about it too.

My two machines are falt out looking for new Mersenne primes and it woul
dbe nice to continue to do so without interuption and yet work with macros.

N10



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 40
Default Time Hog

You could try putting a wait in the code somewhere. Though this will
probably cause it to take 2 days to run, as well as possibly cause
other adverse affects. So basically...I have no idea, but would like
to know as well. =)


N10 wrote:
"Bill Martin" wrote in message
...
Using Excel 2003, I have a VBA program that I use to do Monte Carlo
analysis. Sometimes I run it for an hour or two. My one gripe with it is
that it hogs the whole machine and makes it difficult to use other
programs in the foreground. Generally I run it at night and don't care,
but occasionally I need to run it during the day.

Is there some way to tell VBA to limit the machine time it burns -- to
force it to pass off XP's multitasking off to the next task? Or to tell
XP-Home to limit how much resource gets allocated to Excel?

Thanks.

Bill



Good point Bill if there is a way to partion processor usage I would love
to know about it too.

My two machines are falt out looking for new Mersenne primes and it woul
dbe nice to continue to do so without interuption and yet work with macros.

N10


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 54
Default Time Hog

Nowhere have I found a satisfactory answer to this issue. The best I've
come up with is that if one has a multiprocessor machine, I *think* you can
force Excel to run on one processor and other stuff on the other. I haven't
been able to verify this since I lack such a machine, but that's the only
thing I've come up with.

Bill
----------------------------------------
"John Fuller" wrote in message
ups.com...
You could try putting a wait in the code somewhere. Though this will
probably cause it to take 2 days to run, as well as possibly cause
other adverse affects. So basically...I have no idea, but would like
to know as well. =)


N10 wrote:
"Bill Martin" wrote in message
...
Using Excel 2003, I have a VBA program that I use to do Monte Carlo
analysis. Sometimes I run it for an hour or two. My one gripe with it
is
that it hogs the whole machine and makes it difficult to use other
programs in the foreground. Generally I run it at night and don't
care,
but occasionally I need to run it during the day.

Is there some way to tell VBA to limit the machine time it burns -- to
force it to pass off XP's multitasking off to the next task? Or to
tell
XP-Home to limit how much resource gets allocated to Excel?

Thanks.

Bill



Good point Bill if there is a way to partion processor usage I would
love
to know about it too.

My two machines are falt out looking for new Mersenne primes and it
woul
dbe nice to continue to do so without interuption and yet work with
macros.

N10



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
Time calculations for Scheduled Time vs. Actual Time Worked The Caterer Excel Discussion (Misc queries) 1 November 29th 09 08:08 AM
straight time, time and a half, and double time Jeremy Excel Discussion (Misc queries) 3 September 23rd 08 09:03 PM
Calculate Ending time using Start Time and Elapsed Time Chief 711 Excel Worksheet Functions 5 May 13th 08 04:34 PM
template or formula for start time -finish time -total hours ple cc New Users to Excel 1 March 27th 06 06:06 PM
Calculating days & time left from start date/time to end date/time marie Excel Worksheet Functions 7 December 7th 05 02:36 PM


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