Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello -
I am new to Excel VBA programming and need some assistance. I have a report that contains several fields which I load into MS-Excel. On this report there are 2 columns that contain Date and Time stamps. The first date represents the date and time stamp when the item was added to the log. The second is the date and time stamp when the item was resolved. My problem - I need to calculate the elapsed time in hours:minutes between the two dates. I need to do this in VBA as it is part of a report that is generated by click of a command button. I have searched the help files and have found DateDiff and a few other functions to parse dates but I dont see a straight forward solution. Can anyone help me or point me to an example or two on how to do this? Thanks for your help. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Date and time calculations | Excel Discussion (Misc queries) | |||
Date & Time Calculations | Excel Worksheet Functions | |||
Date/Time Calculations | Excel Worksheet Functions | |||
Time and date calculations | Excel Worksheet Functions | |||
Date and time calculations | Excel Discussion (Misc queries) |