Resource / Time consuming macro

  • Thread starter Thread starter Bryan
  • Start date Start date
B

Bryan

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
 
Bryan,

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

HTH
Paul
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top