Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi all,
HYCH. Am looking for some code to creat a countdown timer, was hoping for hh:mm:ss & if possible lower, not sure if it is possible, but any help would be greatly appreciated. Steve |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
On 28 Jan, 12:54, Steve wrote:
Hi all, HYCH. Am looking for some code to creat a countdown timer, was hoping for hh:mm:ss & if possible lower, not sure if it is possible, but any help would be greatly appreciated. Steve Forget this, got the timer sorted,, found old post on this site. :) But! anyway to get a page to refresh after 20 secs? Steve |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
On Jan 28, 1:15 pm, Steve wrote:
On 28 Jan, 12:54, Steve wrote: Hi all, HYCH. Am looking for some code to creat a countdown timer, was hoping for hh:mm:ss & if possible lower, not sure if it is possible, but any help would be greatly appreciated. Steve Forget this, got the timer sorted,, found old post on this site. :) But! anyway to get a page to refresh after 20 secs? Steve Hi, Try this. Paste this into the worksheet's module:- Private Sub Worksheet_Activate() Call Recalculate End Sub Public Sub Recalculate() Calculate Application.OnTime earliesttime:=Now + TimeValue("00:00:20"), _ procedu="Recalculate" End Sub This should recalculate your worksheet every 20 seconds. To change the recalculation period just change the value in brackets after 'TimeValue' Hope this helps, Regards, Matt Richardson http://teachr.blogspot.com |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You may want to take a look at Chip Pearson's notes on .ontime:
http://www.cpearson.com/excel/OnTime.aspx Steve wrote: On 28 Jan, 12:54, Steve wrote: Hi all, HYCH. Am looking for some code to creat a countdown timer, was hoping for hh:mm:ss & if possible lower, not sure if it is possible, but any help would be greatly appreciated. Steve Forget this, got the timer sorted,, found old post on this site. :) But! anyway to get a page to refresh after 20 secs? Steve -- Dave Peterson |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
On 28 Jan, 13:29, Matt Richardson wrote:
On Jan 28, 1:15 pm, Steve wrote: On 28 Jan, 12:54, Steve wrote: Hi all, HYCH. Am looking for some code to creat a countdown timer, was hoping for hh:mm:ss & if possible lower, not sure if it is possible, but any help would be greatly appreciated. Steve Forget this, got the timer sorted,, found old post on this site. :) But! anyway to get a page to refresh after 20 secs? Steve Hi, Try this. Paste this into the worksheet's module:- Private Sub Worksheet_Activate() Call Recalculate End Sub Public Sub Recalculate() Calculate Application.OnTime earliesttime:=Now + TimeValue("00:00:20"), _ procedu="Recalculate" End Sub This should recalculate your worksheet every 20 seconds. *To change the recalculation period just change the value in brackets after 'TimeValue' Hope this helps, Regards, Matt Richardsonhttp://teachr.blogspot.com- Hide quoted text - - Show quoted text - many thanks, works great, 5 star service as usual Steve |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Timer in VBA | Excel Discussion (Misc queries) | |||
Timer | Excel Discussion (Misc queries) | |||
Timer | Excel Worksheet Functions | |||
Lap-timer | Excel Discussion (Misc queries) | |||
Stopping a Timer / Running a timer simultaneously on Excel | Excel Discussion (Misc queries) |