Bonjour, j'ai une macro qui supprime les doublons se situant dans la colonne A feuille1, comment la modifier pour avoir la liste sans doublons dans la colonne A ligne 3 de la feuille2 et non pas dans la cellule d2 de la feuille1?
Sub SupprDoublons()
Range("a2:a" & [a65000].End(xlUp).Row).Select
Selection.Sort Key1:=Range("A2"), Order1:=xlAscending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
DataOption1:=xlSortNormal
Range("A2").Select
Range("a2:a" & [a65000].End(xlUp).Row).AdvancedFilter Action:=xlFilterCopy, _
CopyToRange:=Range("d2"), Unique:=True
End Sub
Sub SupprDoublons()
Range("a2:a" & [a65000].End(xlUp).Row).Select
Selection.Sort Key1:=Range("A2"), Order1:=xlAscending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
DataOption1:=xlSortNormal
Range("A2").Select
Range("a2:a" & [a65000].End(xlUp).Row).AdvancedFilter Action:=xlFilterCopy, _
CopyToRange:=Range("d2"), Unique:=True
End Sub