PC Review


Reply
Thread Tools Rate Thread

Count down display

 
 
Tom
Guest
Posts: n/a
 
      22nd Jul 2009
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


 
Reply With Quote
 
 
 
 
ryguy7272
Guest
Posts: n/a
 
      22nd Jul 2009
Follow the steps:
http://www.tushar-mehta.com/excel/so...countdown.html

The AddIn should probably go in: C > Documents and settings > 'name of your
computer' > Application Data > Microsoft > AddIns

HTH,
Ryan

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"Tom" wrote:

> 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
>
>
>

 
Reply With Quote
 
FSt1
Guest
Posts: n/a
 
      22nd Jul 2009
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

"Tom" wrote:

> 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
>
>
>

 
Reply With Quote
 
Tom
Guest
Posts: n/a
 
      23rd Jul 2009
It does exactly what I'm looking for. Thanks FSt1

Regards,
Tom

"FSt1" <(E-Mail Removed)> wrote in message
news:B8EE0D26-B542-4584-B97F-(E-Mail Removed)...
> 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
>
> "Tom" wrote:
>
>> 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
>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
count duplicats, display incremental count, restart count at changein value JenIT Microsoft Excel Programming 2 24th Aug 2010 09:10 PM
Display Count Rita Microsoft Access Reports 4 4th Feb 2009 06:27 PM
Re: Count that will display the number for each record in the count increment. Sylvain Lafontaine Microsoft Access ADP SQL Server 0 12th Jul 2008 04:25 PM
Excel Count characters in a textbox to display character count? Shaka215@gmail.com Microsoft Excel Programming 1 8th Feb 2007 06:31 AM
Display count by day Kay Microsoft Access Queries 6 22nd Mar 2006 05:58 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:14 AM.