I have two text boxes where I have stored times triggered by command buttons:
Both Text boxes are triggered by separate command buttons and I want to do math on the text box values to establish total elapsed time. The second text box can be a negative time that went past zero.
Any ideas on how I can compare these two text boxes to get the elapsed time?
Thanks in advance
Code:
txtTest1.Text = Format(Hour(Now()), "00") & ":" & Format(Minute(Now()), "00") & ":" & Format(Second(Now()), "00")
txtTest2.Text = Format(Hour(Now()), "00") & ":" & Format(Minute(Now()), "00") & ":" & Format(Second(Now()), "00")
Any ideas on how I can compare these two text boxes to get the elapsed time?
Thanks in advance