Results 1 to 9 of 9

stop this countdown timer macro

Threaded View

  1. #1
    Registered User
    Join Date
    05-16-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    5

    Angry stop this countdown timer macro

    Sub Countup()
    Dim CountDown As Date
    CountDown = Now + TimeValue("00:00:01")
    Application.OnTime CountDown, "RealCount"
    End Sub
    Sub Realcount()
    Dim count As Range
    Set count = [E1]
    count.Value = count.Value - TimeSerial(0, 0, 1)
    If count <= 0 Then
    MsgBox "SORRY - TIME UP!"
    Exit Sub
    End If
    Call Countup
    End Sub
    Last edited by arlu1201; 05-16-2012 at 03:43 AM. Reason: Please put code tags in future.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1