Sub Decaler()
Dim i&
For i = 12 To 70 Step 3
If Cells(i, 2) <> "" And Cells(i - 1, 2) = "" Then
Range(Cells(i - 1, 2), Cells(i - 1, 24)) = Range(Cells(i, 2), Cells(i, 24)).Value
Range(Cells(i, 2), Cells(i, 24)) = ""
End If
If Cells(i + 1, 2) <> "" And Cells(i, 2) = "" Then
Range(Cells(i, 2), Cells(i, 24)) = Range(Cells(i + 1, 2), Cells(i + 1, 24)).Value
Range(Cells(i + 1, 2), Cells(i + 1, 24)) = ""
End If
Next i
TransfertBDD 'Appel de la procedure de transfert
End Sub