I need to build a countdown timer and show it in a Excel spreadsheet
thanks
I need to build a countdown timer and show it in a Excel spreadsheet
thanks
Paste the following code into a Module, and run it:
Public Sub CountDown()
Const oneSecond As Double = 1 / 24 / 3600
With Worksheets("Sheet1").Range("A1")
.Value = .Value - oneSecond
End With
Application.OnTime Now + oneSecond, "CountDown"
End Sub
"CC" <CC@discussions.microsoft.com> a écrit dans le message de news:
8626413F-EC23-4970-BE53-52B4A1414C9C@microsoft.com...
>
> I need to build a countdown timer and show it in a Excel spreadsheet
>
>
> thanks
>
What about put this information (countdowntimer) in a msgbox or form ?
CC
"Ardus Petus" wrote:
> Paste the following code into a Module, and run it:
>
> Public Sub CountDown()
> Const oneSecond As Double = 1 / 24 / 3600
> With Worksheets("Sheet1").Range("A1")
> .Value = .Value - oneSecond
> End With
> Application.OnTime Now + oneSecond, "CountDown"
> End Sub
>
>
> "CC" <CC@discussions.microsoft.com> a écrit dans le message de news:
> 8626413F-EC23-4970-BE53-52B4A1414C9C@microsoft.com...
> >
> > I need to build a countdown timer and show it in a Excel spreadsheet
> >
> >
> > thanks
> >
>
>
>
I'm no good at userforms!
Sorry I can't help any further
--
AP
"CC" <CC@discussions.microsoft.com> a écrit dans le message de news:
93854719-5303-4252-92EE-2AF8395509D2@microsoft.com...
> What about put this information (countdowntimer) in a msgbox or form ?
>
> CC
>
>
> "Ardus Petus" wrote:
>
>> Paste the following code into a Module, and run it:
>>
>> Public Sub CountDown()
>> Const oneSecond As Double = 1 / 24 / 3600
>> With Worksheets("Sheet1").Range("A1")
>> .Value = .Value - oneSecond
>> End With
>> Application.OnTime Now + oneSecond, "CountDown"
>> End Sub
>>
>>
>> "CC" <CC@discussions.microsoft.com> a écrit dans le message de news:
>> 8626413F-EC23-4970-BE53-52B4A1414C9C@microsoft.com...
>> >
>> > I need to build a countdown timer and show it in a Excel spreadsheet
>> >
>> >
>> > thanks
>> >
>>
>>
>>
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks