ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   vba timer (https://www.excelbanter.com/excel-programming/337439-vba-timer.html)

William Barnes[_2_]

vba timer
 
Using Excel 2003 v11.2 SP1 on an XP Pro 2002 SP2 machine.

Is there a control available with the functionality of the Timer object
found in VB6? In searching for 'Timer' I only found examples of code using
the Timer function that typically saved the current time then looped until
the time was some increment greater, calling DoEvents inside the loop, in
order to effect a pause. I'm looking for a control I can instantiate that
will generate Tick() Events at programmable intervals.

Thanks
William Barnes



Rody Meulman[_3_]

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

Greetz,

Rody

"William Barnes" schreef in bericht
...
Using Excel 2003 v11.2 SP1 on an XP Pro 2002 SP2 machine.

Is there a control available with the functionality of the Timer object
found in VB6? In searching for 'Timer' I only found examples of code using
the Timer function that typically saved the current time then looped until
the time was some increment greater, calling DoEvents inside the loop, in
order to effect a pause. I'm looking for a control I can instantiate that
will generate Tick() Events at programmable intervals.

Thanks
William Barnes




William Barnes[_2_]

vba timer
 
Thanks for your prompt reply. Very helpful.
William

"Rody Meulman" wrote in message
...
http://www.cpearson.com/excel/ontime.htm

Greetz,

Rody

"William Barnes" schreef in bericht
...
Using Excel 2003 v11.2 SP1 on an XP Pro 2002 SP2 machine.

Is there a control available with the functionality of the Timer object
found in VB6? In searching for 'Timer' I only found examples of code
using the Timer function that typically saved the current time then
looped until the time was some increment greater, calling DoEvents inside
the loop, in order to effect a pause. I'm looking for a control I can
instantiate that will generate Tick() Events at programmable intervals.

Thanks
William Barnes







All times are GMT +1. The time now is 05:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com