conform e-mail die ik van jou ontvangen heb
is dit de code
Sub unieke_lijst()
Dim rij As Long
rij = 3
Application.ScreenUpdating = False
Application.Calculation = xlManual
While Cells(rij, 22) <> ""
If Cells(rij, 22) = Cells(rij - 1, 22) Then
Rows(rij).Delete
Else
rij = rij + 1
End If
Wend
Application.Calculation = xlAutomatic
Application.ScreenUpdating = True
End Sub
in kolom T komt de formule =F2&G2
in kolom U komt de formule =AANTAL.ALS($T$2:$T$65536;T2)
in kolom V komt de formule =T2&"_"&U2
m.v.g.
john
--
Vragen is nooit dom.
Met een vraag blijven lopen wel.
Want dat lost nooit iets op.