1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| If IsDate(F1.Value) Then .Cells(lig1, "X") = CDate(F1.Value) Else .Cells(lig1, "X") = ""
If IsDate(F2.Value) Then .Cells(lig1 + 1, "X") = CDate(F2.Value) Else .Cells(lig1 + 1, "X") = ""
If IsDate(F3.Value) Then .Cells(lig1 + 2, "X") = CDate(F3.Value) Else .Cells(lig1 + 2, "X") = ""
If IsDate(F4.Value) Then .Cells(lig1 + 3, "X") = CDate(F4.Value) Else .Cells(lig1 + 3, "X") = ""
If IsDate(F5.Value) Then .Cells(lig1 + 4, "X") = CDate(F5.Value) Else .Cells(lig1 + 4, "X") = ""
If IsDate(F6.Value) Then .Cells(lig1 + 5, "X") = CDate(F6.Value) Else .Cells(lig1 + 5, "X") = ""
If IsDate(F7.Value) Then .Cells(lig1 + 6, "X") = CDate(F7.Value) Else .Cells(lig1 + 6, "X") = ""
If IsDate(F8.Value) Then .Cells(lig1 + 7, "X") = CDate(F8.Value) Else .Cells(lig1 + 7, "X") = ""
If IsDate(F9.Value) Then .Cells(lig1 + 8, "X") = CDate(F9.Value) Else .Cells(lig1 + 8, "X") = ""
If IsDate(F10.Value) Then .Cells(lig1 + 9, "X") = CDate(F10.Value) Else .Cells(lig1 + 9, "X") = ""
If IsDate(F11.Value) Then .Cells(lig1 + 10, "X") = CDate(F11.Value) Else .Cells(lig1 + 10, "X") = ""
If IsDate(F12.Value) Then .Cells(lig1 + 11, "X") = CDate(F12.Value) Else .Cells(lig1 + 11, "X") = ""
If IsDate(F13.Value) Then .Cells(lig1 + 12, "X") = CDate(F13.Value) Else .Cells(lig1 + 12, "X") = ""
If IsDate(F14.Value) Then .Cells(lig1 + 13, "X") = CDate(F14.Value) Else .Cells(lig1 + 13, "X") = ""
If IsDate(F15.Value) Then .Cells(lig1 + 14, "X") = CDate(F15.Value) Else .Cells(lig1 + 14, "X") = "" |
Partager