Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Resource / Time consuming macro

Hi.

I have a macro that because of its nature, takes over an
hour to complete - the code is fine, just processing lots
of data.

When I used to programme in Delphi, there was a method
called Application.ProcessMessages which allowed let the
CPU handle other tasks while churning away on the CPU
intensive code.

I was wondering if VBA has an equivalant? I can't seem to
find anything as currently I can't do anything else while
I run this macro.

Thanks for your help,
Bryan
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Resource / Time consuming macro

Hi
AFAIK there's no such equivalent in VBA.

--
Regards
Frank Kabel
Frankfurt, Germany


Bryan wrote:
Hi.

I have a macro that because of its nature, takes over an
hour to complete - the code is fine, just processing lots
of data.

When I used to programme in Delphi, there was a method
called Application.ProcessMessages which allowed let the
CPU handle other tasks while churning away on the CPU
intensive code.

I was wondering if VBA has an equivalant? I can't seem to
find anything as currently I can't do anything else while
I run this macro.

Thanks for your help,
Bryan

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 172
Default Resource / Time consuming macro

Bryan,

See the 'DoEvents' function in VBE help for some thoughts on this.

HTH
Paul
------------------------------------------------------------------------

Hi.

I have a macro that because of its nature, takes over an
hour to complete - the code is fine, just processing lots
of data.

When I used to programme in Delphi, there was a method
called Application.ProcessMessages which allowed let the
CPU handle other tasks while churning away on the CPU
intensive code.

I was wondering if VBA has an equivalant? I can't seem to
find anything as currently I can't do anything else while
I run this macro.

Thanks for your help,
Bryan


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
resource lookup Macro Joel Excel Discussion (Misc queries) 4 March 11th 09 04:52 PM
Extreme, time-consuming processing GARY Excel Discussion (Misc queries) 0 February 25th 08 03:24 PM
not enough resource to display dvicmel Excel Discussion (Misc queries) 0 April 30th 07 03:42 AM
time and resource mgmt HSF 20hour deadline Excel Discussion (Misc queries) 0 May 27th 06 03:51 PM
Consuming excel events in C# Matthew Connor Excel Programming 1 July 25th 03 01:50 PM


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