Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default Is there a way to WAIT in Excel without using 100% CPU?

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?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Is there a way to WAIT in Excel without using 100% CPU?

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

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
(keys,wait) excel MM Excel Discussion (Misc queries) 1 February 11th 09 04:19 PM
sendkeys(keys,wait) how do I use wait MM Excel Discussion (Misc queries) 1 February 11th 09 03:47 PM
Wait function in Excel 2000 Macro fryb53 Excel Discussion (Misc queries) 3 January 16th 08 02:49 PM
When Excel wait for OLE action allow cancel so not have to end pr sferrell615 Excel Discussion (Misc queries) 0 August 4th 06 02:46 PM
How do I get an excel macro to stop at a cell & wait for imput? oscar_az Excel Discussion (Misc queries) 1 January 11th 06 01:38 PM


All times are GMT +1. The time now is 05:53 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"