#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default OnTime

Is there a way to stop OnTime once it starts counting, or to renew the time?
I have a macro that uses OnTime that waits for 3 minutes before running
another procedure. I want to be able to have another macro that either stops
OnTimes counting, or renews the 3 minutes if the user clicks on a button.
I hope that makes sense.

Thanks.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default OnTime

Take a look at

http://cpearson.com/excel/ontime.htm

In article ,
"gottahavit" wrote:

Is there a way to stop OnTime once it starts counting, or to renew the time?
I have a macro that uses OnTime that waits for 3 minutes before running
another procedure. I want to be able to have another macro that either stops
OnTimes counting, or renews the 3 minutes if the user clicks on a button.
I hope that makes sense.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default OnTime

You would have to cancel the pending ontime event and begin a new one.

See Chip Pearson's Ontime page for ideas:

http://www.cpearson.com/excel/ontime.htm

--
Regards,
Tom Ogilvy

"gottahavit" wrote in message
...
Is there a way to stop OnTime once it starts counting, or to renew the

time?
I have a macro that uses OnTime that waits for 3 minutes before running
another procedure. I want to be able to have another macro that either

stops
OnTime's counting, or renews the 3 minutes if the user clicks on a button.
I hope that makes sense.

Thanks.



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
Find %ontime & SUMIF ontime ie: find matching sets within Range... Chris T-M Excel Worksheet Functions 3 October 10th 08 08:14 PM
.ontime Grrrrrumpy Excel Discussion (Misc queries) 2 April 8th 07 04:18 PM
OnTime bug? Antonio Excel Discussion (Misc queries) 0 June 9th 06 08:24 PM
OnTime...Please Help Michael_I Excel Programming 9 May 24th 04 07:56 PM
OnTime Help Mark Scholes Excel Programming 1 January 30th 04 03:48 AM


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