J John Nurick Apr 1, 2004 #2 Like this: Dim strD as String Dim dtD as Date strD = "033198" dtD = DateSerial(CInt(Right(strD,2)), _ CInt(Left(strD,2)), CInt(Mid(strD,3,2))) On Wed, 31 Mar 2004 19:36:09 -0800, "Office help"
Like this: Dim strD as String Dim dtD as Date strD = "033198" dtD = DateSerial(CInt(Right(strD,2)), _ CInt(Left(strD,2)), CInt(Mid(strD,3,2))) On Wed, 31 Mar 2004 19:36:09 -0800, "Office help"
D david epsom dot com dot au Apr 1, 2004 #4 format(mydate,"mm/dd/yyyy") format(033198,"mm/dd/yyyy") = 11/21/1990 rather than 03/31/1998 (david)