Time
Using the TIME Function
In this tutorial you will learn how to use the TIME Function.
The TIME function returns the current system time.
=TIME()
The result is 16:49:33.
FORM
In a Form you could set the Default Value of a Textbox to
=TIME()
VBA
In a Form add a TEXTBOX control and rename it "txtTime", then you could add the following in the Load Event.
Private Sub Form_Load()
txtTime = TIME()
End Sub
Course
Want to learn more? Request this via the contact form.
Search
You can find more about this by searching the website.
By: Alex Hedley
Click here to sign up for more FREE tips
|