I have pulled data into a report where I have two fields that are different times, and I need to calculate the time between them. I have encountered two problems:
1) I cannot format the time field from HHMMSS into HH:MM:SS. Right now all the values look like 5 or 6 digit numbers. If I simply try to format the cell using "Format Cell", everything changes to "12:00:00 AM". I need some sort of VB code for my variable.
2) Once I have those fields formatted, I don't know how to calculate the time between them.
If anyone has done this before, or knows how to do one or both parts, that'd be great. Any help is appreciated. Thanks in advance.
1) I cannot format the time field from HHMMSS into HH:MM:SS. Right now all the values look like 5 or 6 digit numbers. If I simply try to format the cell using "Format Cell", everything changes to "12:00:00 AM". I need some sort of VB code for my variable.
2) Once I have those fields formatted, I don't know how to calculate the time between them.
If anyone has done this before, or knows how to do one or both parts, that'd be great. Any help is appreciated. Thanks in advance.