Is there a way to WAIT in Excel without using 100% CPU?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When using the Application.Wait command in Excel, CPU utilization goes to
100% for the duration of the wait command. Is there a better way?
 
Hello, Marc

you could split your macro into two procedures, the first of which
consisting of everything ahead of your application.wait command and the
second one consisting of everything after it. Then, in the first
procedure you could use the application.ontime command to call the
second procedure with a certain time delay. This may also require some
modification concerning the declaration (validation) of variables, but
other than the application.wait command it doesn't require much CPU
utilization.

Regards
Ingolf
 
Back
Top