Hello, is there a way in VBA to calculate the the time span, in hours, between two dates with both a day and time?
For instance I have four fields (with data):
startdate (01/01/07)
starttime (09:00:00 am)
enddate (01/03/07)
endtime (2:00:00 pm)
duration = 54:00 (hours/minutes)
What would be a calculation to come up with the duration? I haven't been able to find anything that calculates with both day and time. Any help is much appreciated! Thanks!
For instance I have four fields (with data):
startdate (01/01/07)
starttime (09:00:00 am)
enddate (01/03/07)
endtime (2:00:00 pm)
duration = 54:00 (hours/minutes)
What would be a calculation to come up with the duration? I haven't been able to find anything that calculates with both day and time. Any help is much appreciated! Thanks!