Hi guys. Was wondering why the IsDate function always returns false.
Do I have to define the myYear variable of the date data type? Or is there some other problem?Code:dim myYear as string myYear = trim(txtYear.text) If isYear(myYear) = false then msgbox("Not a year") End if




Reply With Quote