Sub Transpose()
Dim DerLig%, indexW%, Sh, i%, j%
Application.ScreenUpdating = False ' Figeage écran pour aller plus vite
Sheets("Cible").Range("A2:C1000").ClearContents ' Effacement matrice Cible
DerLig = Sheets("Origine").Range("A65500").End(xlUp).Row ' Recherche Dernière Ligne d'Origine
indexW = 2 ' IndexW : Index d'écriture dans page Cible
Set Sh = Sheets("Cible") ' Affectation Sh
With Sheets("Origine")
For i = 2 To DerLig ' Pour toute les lignes de Origine
For j = 0 To 2 ' Mettre sur trois lignes
Sh.Cells(indexW + j, "A") = .Cells(i, "A") ' L' ID
Sh.Cells(indexW + j, "C") = .Cells(i, j + 2) ' Origine,Processus,LP
Next j
Sh.Cells(indexW + 0, "B") = .Cells(1, "B") ' Recopier les valeurs de Origine,Processus,LP sur colonne D
Sh.Cells(indexW + 1, "B") = .Cells(1, "C")
Sh.Cells(indexW + 2, "B") = .Cells(1, "D")
indexW = indexW + 3 ' Mise à jour index écriture pour prochaine ligne Origine
Next i
End With
End Sub