Sub testjj()
With Sheets("Détail")
Dim Derlg&
Derlg = .Cells.Find("*", , , , xlByRows, xlPrevious).Row
.Range("k2:k" & Derlg).Formula = "=IF(i2="""","""",TEXT(I2,""jj/mm/aaaa"")&"" - ""&G2&"" - ""&H2)"
'pour enlever la formule
.Range("k2:k" & Derlg).Value = .Range("k2:k" & Derlg).Value
End With
End Sub