Dim Test As String
Dim DateTick As Long
Try
Test=StartD.text
Test = Test.Replace("/", "")
If IsNumber(Test) Then
DateTick = DateTime.DateParse(StartD.Text)
Else
Msgbox("Invalid Date entered because of rogue text.", "")
Return
End If
Catch
Msgbox("Month (i.e. 13), Day (i.e. 33) or year (i.e. 212) may be out of range.", "")
Return
End Try