Count down display

  • Thread starter Thread starter Tom
  • Start date Start date
T

Tom

How to make the status bar display a count down message: "Count down 10" ...
to ... "Count down 0" in steps of 1 using any time interval?

Thanks!
Tom
 
hi
this should work for you. i have it set to count down at 1 second intervals.
adjust to suit.
Sub countdownstatus()
Dim c As Long
c = 10
Do Until c = 0
Application.StatusBar = "Count Down " & c
newHour = Hour(Now())
newMinute = Minute(Now())
newSecond = Second(Now()) + 1
waitTime = TimeSerial(newHour, newMinute, newSecond)
Application.Wait waitTime
c = c - 1
Loop
Application.StatusBar = False
End Sub

regards
FSt1
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Fun with SubTotals 3
count down timer in text box 3
Need to insert formula to a variable number of rows 1
List Reference 3
count 2
Count Down 48hrs 1
autofilter question 3
Count between Values 3

Back
Top