PDA

View Full Version : vba code to calculate time difference



Zina
09-21-2015, 08:22 AM
Hello everybody

I am looking for a vba code to calculate timedifference between 2 times in excel
field a is name field b is time in field c is time out
Field d should be the calculation between c - b
example b2 = 08:00 c2 = 16:00 than the result in c should be 08:00

Thank you in advance

Zina

SamT
09-21-2015, 04:08 PM
See Thread
Calculate hours between two times (http://www.vbaexpress.com/forum/showthread.php?53741-Calculate-hours-between-two-times)