Ok, I would recommend something like this:
sDayMonth contains your 25-11
SYear contains 1878
dDateBaptism = CDate(format(sdayMonth & sYear,"dd-mm-yyyy"))
where dDateBaptism is a Date/time datatype and should sort properly as well as behave with any Date related functions.
sample test:
Code:
Sub IanTest()
Dim sDayMonth As String ' string variable to hold dd-mm
Dim sYear As String 'string variable to hold year YYYY
Dim dDateBaptism As Date 'date variable to hold the date after some processing on concatenated strings
sDayMonth = "25-11"
sYear = "1878"
dDateBaptism = CDate(Format(sDayMonth & "-" & sYear, "dd-mm-yyyy")) 'you need the "-" to complete the format
Debug.Print dDateBaptism
End Sub
Result:
25/11/1878 ----I'm in Canada and DD/MM/YYYY is my regional setting date display