This is the code I am using
So, what I am trying to do is subtract my start time from my end time and give me answer [Worked] in hours and minutes.
Once I do this I need to be able to print a report on a weekly basis that totals the hours worked.
The above code returns a Date. Can someone please help me?
Regards
Gene
Code:
Private Sub cmd_Stop_Click()
Finish.Value = Time()
'Finish.Enabled = False
Worked.SetFocus
Worked.Value = DateDiff("n", [Start], [Finish])
End Sub
Private Sub Command10_Click()
Start.Value = Time()
'Start.Enabled = False
So, what I am trying to do is subtract my start time from my end time and give me answer [Worked] in hours and minutes.
Once I do this I need to be able to print a report on a weekly basis that totals the hours worked.
The above code returns a Date. Can someone please help me?
Regards
Gene