N
Newbe
Need to calculate total hours on a form, based on two
fields one field [Start]and other field [End]both are
formatted for Short time. Made Text box with the Control
Source = ([End]-[Start])*24. Worked fine until I needed to
input work from second shift with a "Start" time of 23:30
and an "End" time of 3:00 this ended up giving a "Total"
time of -20.5 instead of the expected 3.5 hours.
Not real proficient at VBA yet, is there an easy way to
remedy this problem.
TIA
fields one field [Start]and other field [End]both are
formatted for Short time. Made Text box with the Control
Source = ([End]-[Start])*24. Worked fine until I needed to
input work from second shift with a "Start" time of 23:30
and an "End" time of 3:00 this ended up giving a "Total"
time of -20.5 instead of the expected 3.5 hours.
Not real proficient at VBA yet, is there an easy way to
remedy this problem.
TIA