• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Display time on a label in form

IceFrogBG

Member
Hi all,
Now I want to display time on a label in user form.
I already do an other way like that :
Code:
Dim t As Double
t = Timer
...
<many process here>
<when finished all process>
MsgBox "DONE!", , Format(Timer - t, "0.0") & "s"
But I want to make a small clock display time count the second,
(Ex : 00:00:00 -> 00:00:01 ->00:00:02 etc...)
Anyone can give me an ideas.
Many thanks
 
Hi ,

Declare a variable TimeStore , which will be used to store the time difference ; when you initialize the userform , store the time in this variable ; then change your existing line of code to the following :

Label14.Caption = Time() - TimeStore

Narayan
 
Back
Top