+ Reply to Thread
Results 1 to 2 of 2

Excel Time Difference

  1. #1
    Registered User
    Join Date
    10-13-2009
    Location
    Muscat, Oman
    MS-Off Ver
    Excel 2003
    Posts
    1

    Excel Time Difference

    Hi,

    I am working on a worksheet where an email message will be sent if the time difference between two cells (two predetermined times) is greater than 30 minutes and lexx han 4 hours regardless of the start or end time.

    Cols A and B contains the times (schedule) and Col C contains the difference.

    The VBA code works perfectly for all values in Col C except for negative time differences which are displayed as #####.

    Any way to get around this issue?

    Best Regards
    Ziad

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Excel Time Difference

    Perhaps it would be an idea to post the code you're using ?

    Negative time values can not be displayed in Time format (1900 date system) though the underlying value is still valid - eg -12:00 would display as #### but in reality the value is just -0.5

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1