If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
If DateDiff("d", StartDate, EndDate) < 0 Then
'End date is before the start date - show error
Else
'Start date is before the end date (or the same day) - continue processing
End If
__________________
That which does not kill me postpones the inevitable.
If CDate(StartDate) > CDate(EndDate) Then
'End date is before the start date - show error
Else
'Start date is before the end date (or the same day) - continue processing
End If