j'ai fait ceci mais ca ne boucle pas, ca s'arrete au premier sector 1, sector 2 ou sector 3 (je seche sur comment boucler)
Sub Secteur()
'
'
Sheets("csv").Select
Columns("A:A").Select
Selection.Find(What:="Sector 1", After:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Activate
ActiveCell.CurrentRegion.Select
Selection.Copy
With Sheets("secteur")
ActiveSheet.Paste Destination:=.Range("A" & .Range("A" & Rows.Count).End(xlUp).Row).Offset(1)
Application.CutCopyMode = False
.Activate
End With
Sheets("CSV").Select
Columns("A:A").Select
Selection.Find(What:="Sector 2", After:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Activate
ActiveCell.CurrentRegion.Select
Selection.Copy
With Sheets("secteur")
ActiveSheet.Paste Destination:=.Range("F" & .Range("F" & Rows.Count).End(xlUp).Row).Offset(1)
Application.CutCopyMode = False
.Activate
End With
Sheets("CSV").Select
Sheets("csv").Select
Columns("A:A").Select
Selection.Find(What:="Sector 1", After:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Activate
ActiveCell.CurrentRegion.Select
Selection.Copy
With Sheets("secteur")
ActiveSheet.Paste Destination:=.Range("K" & .Range("K" & Rows.Count).End(xlUp).Row).Offset(1)
Application.CutCopyMode = False
.Activate
End With
Sheets("CSV").Select
End Sub