Sub Transposer1sur4()
Dim dercol&, n&, i&, j&
With Sheets("Feuil1")
For j = .UsedRange.Column + .UsedRange.Columns.Count - 1 To 8 Step -1
n = Application.WorksheetFunction.CountA(.Range(.Cells(7, j), .Cells(173, j)))
If n > 0 Then dercol = j: Exit For
Next j
If dercol = 0 Then MsgBox ("Rien à copier"): Exit Sub
Application.ScreenUpdating = False: n = 0
For j = 8 To dercol Step 4
.Range(.Cells(7, j), .Cells(173, j)).Copy
With Worksheets("Feuil2")
n = n + [S][COLOR=rgb(226, 80, 65)]1[/COLOR][/S] [/I][COLOR=rgb(97, 189, 109)][I]3[/I][/COLOR]
[I] .Cells(n, 1).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks:=False, Transpose:=True
[S][COLOR=rgb(226, 80, 65)].Cells(n, 1).PasteSpecial Paste:=xlPasteFormats, Operation:=xlNone, SkipBlanks:=False,[/COLOR][/S] [S][COLOR=rgb(226, 80, 65)]Transpose:=True[/COLOR][/S]
End With
Next j
End With
Application.CutCopyMode = False
Application.Goto Worksheets("Feuil2").Range("A1"), True
End Sub