Re après vérification il y aussi au moins une commune qui n'a pas la même structure
Cette entité est sur 6 lignes et non pas sur 5 lignes...
Monsieur Le Président
C.D.C. Rhône-Crussol
1278 rue Henri Dunant
B.P. 249
07502 GUILHERAND-GRANGES Cédex
si cela convient
merci
Fred
pour changer la feuille de destination : changer dans le code "feuil5" par le nom de la feuille désirée (qui doit existée évidemment!!)
Sub reorganisation()
Dim i, lg As Long
Dim col, Indexcol As Byte
lg = 1
Indexcol = 1
With Sheets("feuil1")
For col = 1 To 3 Step 2
For i = 1 To .Cells(.Rows.Count, col).End(xlUp).Row
If IsNumeric(Left(LTrim(.Cells(i, col)), 5)) Then
Sheets("feuil5").Cells(lg, 4) = LTrim(CStr(.Cells(i, col)))
lg = lg + 1
Indexcol = 1
Else
If LTrim(CStr(.Cells(i, col))) <> "" Then Sheets("feuil5").Cells(lg, Indexcol) = LTrim(CStr(.Cells(i, col))): Indexcol = Indexcol + 1
End If
Next i
Next col
End With
End Sub