H
Henry Stockbridge
Hi,
I am attempting to calculate the difference in dates between the date
an original email message was received, and the date a reply was
sent. However, this code returns negative numbers, despite the Date1,
and Date2 being in the right sequence.
Dim myItem As Object
Set myItem = Application.ActiveInspector.CurrentItem
DateDiff("d", Format(myItem.ReceivedTime, "Short Date"), Format(Now(),
"Short Date"))
Any thoughts?
Henry
I am attempting to calculate the difference in dates between the date
an original email message was received, and the date a reply was
sent. However, this code returns negative numbers, despite the Date1,
and Date2 being in the right sequence.
Dim myItem As Object
Set myItem = Application.ActiveInspector.CurrentItem
DateDiff("d", Format(myItem.ReceivedTime, "Short Date"), Format(Now(),
"Short Date"))
Any thoughts?
Henry