Please Help, the user can only input today's date and tomorrow's date... How can i get it??
example valid dates are: Today's date: March 01, 2011 and tomorrow's date: March 02, 2011
if the dates are not valid then error.... Thank You...
Dim DD As String : Dim MM As String : Dim YYYY As String
Dim DDMMYYY As String
DD = Now.Day : MM = Now.Month : YYYY = Now.Year
If DD.Length = 1 Then DD = 0 & DD
If MM.Length = 1 Then MM = 0 & MM
DDMMYYY = MM & "/" & DD & "/" & YYYY
MskTxtBoxDate.Text = DDMMYYY