![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Join Date: Mar 2004
Posts: 1
|
Does anybody know how to get the timer control (as in VB6) into Excel ? I've tried adding a reference to the comctl32.ocx file, but it doesn't appear in the list of available controls. Failing that, is there any other way to get similar functionality ?
Thanks, Dunder |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Denver, Colorado USA
Posts: 3,876
|
Hi Dunder,
I'm not sure the Timer control can be used in Excel. This functionality is usually achieved in VBA through the Application object's OnTime method. For example Application.OnTime Now() + 10/86400, "MyMacro" will run MyMacro 10 seconds from now. You can get details on the OnTime method in the VBA helps. Damon |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|