Sub TrucChouette()
Dim i As Integer, j As Integer, r As Integer
Dim Valeurs
With Feuil1.Range("B1").CurrentRegion
With .Offset(1).Resize(.Rows.Count - 1)
Valeurs = .Value
r = UBound(Valeurs)
For i = 1 To r
Valeurs(i, 1) = "'" & Format(Valeurs(i, 1), "yyyymmdd")
Valeurs(i, 2) = "'" & Format(Valeurs(i, 2), "hhmmss")
Next
.Value = Valeurs
End With
End With
End Sub