Why does this not fail if the user enters “12a”?
Dim strNewDate As String
strNewDate = InputBox(“What is the new Date Received for this item?”, “Date Received?”)
If strNewDate = “” Or IsDate(strNewDate) = False Then
MsgBox “You either cancelled or entered an invalid date.” & vbNewLine & vbNewLine & “This item has NOT been replicated.”, vbInformation, “Not Replicated”
Exit Sub
End If
I even tried IsDate(CDate(strNewDate)) and it still thinks 12a is a date…