Formating a number in a textbox
Read the data from the text box into a varuiable and then use FORMAT()
function to get the 24 hour time and then put it back into the box
Mytime = textbox1.valuse
Mytime = format(Mytime,"H:MM")
"Patrick C. Simonds" wrote:
At work we use the 24 time format.
What I would like is something that will format time being inputted to a
textbox (TextBox1) to 00:00. So if they enter 1347 it will be converted to
13:47.
|