Finalement, une partie du reste ne semble pas fonctionner avec cette solution.
J'ai utilisé deux formulations pour le code :
Dim h As Long, g As Long, l As Long, m As Long
h = Sheets("CSV").Cells(Rows.Count, "AH").End(xlUp).Row
For l = 2 To h
Sheets("VNEI (EI)").Cells(l, 2).Value = Sheets("CSV").Cells(l - 1, 34).Value
g = Sheets("VNEI (EI)").Cells(Rows.Count, 2).End(xlUp).Row
Sheets("VNEI (EI)").Range(Cells(g, 2), Cells(3, 2)).RemoveDuplicates 'Columns:=2, Header:=xlNo
Next
Et
Dim h As Long, g As Long, l As Long, m As Long
h = Sheets("CSV").Cells(Rows.Count, "AH").End(xlUp).Row
For l = 2 To h
Sheets("VNEI (EI)").Cells(l, 2).Value = Sheets("CSV").Cells(l - 1, 34).Value
g = Sheets("VNEI (EI)").Cells(Rows.Count, 2).End(xlUp).Row
For m = g To 3 Step -1
Sheets("VNEI (EI)").Cells(m, 2).RemoveDuplicates
Next
Next
Les doublons ne veulent pas se supprimer.
Si la discussion ne porte plus tout à fait sur le même sujet, je peut clore celle-ci.