This can be handled with a one-liner:
vb Code:
  1. MyValue = DateSerial(Right(Current_Date,4),Mid(Current_Date,3,2),Left(Current_Date,2))
For clarity you can declare three additional variables if you like:
vb Code:
  1. Dim lngYear As Long
  2. Dim lngMonth As Long
  3. Dim lngDay As Long
  4.  
  5. lngYear = Right(Current_Date, 4)
  6. lngMonth = Mid(Current_Date, 3, 2)
  7. lngDay = Left(Current_Date, 2)
  8.  
  9. MyValue = DateSerial(lngYear, lngMonth, lngDay)