Bonjour,
Sub IMPORTER()
Dim b As Worksheet, c As Worksheet
Range("A1").CurrentRegion.Offset(1, 0).Clear
Set b = Sheets("Base")
Set c = Sheets("Contrepartie")
Data = b.Range("A1").CurrentRegion.Offset(1, 0).Value
Range("A" & Rows.Count).End(xlUp).Offset(1, 0).Resize(UBound(Data), UBound(Data, 2)) = Data
Data = c.Range("A1").CurrentRegion.Offset(1, 0).Value
Range("A" & Rows.Count).End(xlUp).Offset(1, 0).Resize(UBound(Data), UBound(Data, 2)) = Data
derL = Range("A" & Rows.Count).End(xlUp).Row
ActiveSheet.Sort.SortFields.Clear
ActiveSheet.Sort.SortFields.Add Key:=Range("J2"), SortOn:=xlSortOnValues, Order:=xlAscending, DataOption:=xlSortTextAsNumbers
With ActiveSheet.Sort
.SetRange Range("A2:J" & derL)
.Header = xlNo
.MatchCase = False
.Orientation = xlTopToBottom
.SortMethod = xlPinYin
.Apply
End With
End Sub