Thursday, June 3, 2010

Convert an expression to a date

Dim MyDate, MyReturn
MyDate = "January 11, 1981"
MyReturn = CDate(MyDate)
MsgBox MyReturn

No comments: