|
set an integer = to each component of the date,
then on Text1_Changed sub procedure
have it so that it takes the val(text1.text) and sets that to another variable, having it take the val of the string entered into the textbox takes only the number part provided they typed like 12 months and not like 12 mon23432ths343242 and then read the string for "month, day, year" store the last part of string (the "month" "day" or "year") to a variable and do a select case
case "month"
store numeric variable (the val(text1.text)) in place of month
and so on....
|