if an employee clocked in @ 5P one day and clocks out @ 2 AM the next day in a RECORD.
It'll say start time: StartTime: 5PM
EndTime: 2AM (this record is attached to the previous days date) it should say 9 hours worked.
Please help
How do I get a datedif function to take into account an overnight end time. I need to calulate hours worked, some employees come in at say 5P but leave at 1A the next day. I'm getting negative numbers on the calculation. PLEASE HELP!
i'm going to save it as a text file in the end anyway
i'll fix the type issues in access where i actually know what i'm doing.
thanks again for your help, i hope i don't run into issues with what you were talking about.
I DID CHANGE THE REF TO A2 SINCE THE HEADERS ARE ON 1
Sub Test()
Dim c As Range, r As Range
With ActiveSheet
For Each c In .Range(.[A2], .[A2].End(xlToRight))
For Each r In .Range(.[A2], .[A2].End(xlDown))
If...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.