Function AnSemJsDate(ByVal Dt As Date, Optional ByVal Sép As String = "|") As String
AnSemJsDate = Year(Date) & Sép & WorksheetFunction.IsoWeekNum(Dt) & Sép & Weekday(Dt, vbMonday)
End Function
Function DateAnSemJs(ByVal Z As String, Optional ByVal Sép As String = "|") As Date
Dim TSpl() As String, An As Integer, Sm As Integer, Js As Integer, DtHyp As Date
TSpl = Split(Z, Sép): An = TSpl(0): Sm = TSpl(1): Js = TSpl(2)
DtHyp = DateSerial(An, 1, 8)
DtHyp = DtHyp - WorksheetFunction.Weekday(DtHyp, 3)
DateAnSemJs = DtHyp + 7 * (Sm - WorksheetFunction.IsoWeekNum(DtHyp)) + Js - 1
End Function