LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Date Time Calculations - Need Some Direction

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Date and time calculations Pammy Excel Discussion (Misc queries) 1 July 11th 07 01:54 PM
Date & Time Calculations Motaad Excel Worksheet Functions 0 March 8th 07 08:27 PM
Date/Time Calculations IGWright Excel Worksheet Functions 4 May 23rd 06 08:37 AM
Time and date calculations Bob Excel Worksheet Functions 1 February 22nd 05 04:05 PM
Date and time calculations Tony Excel Discussion (Misc queries) 2 January 8th 05 05:16 PM


All times are GMT +1. The time now is 12:08 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"