Sub Duplikate() Dim arrSpeicher() As String, lngAnz As Long For i = 3 To Cells(Rows.Count, 1).End(xlUp).Row ReDim Preserve arrSpeicher(0 To lngAnz) arrSpeicher(lngAnz) = Cells(i, 2) & Cells(i, 3) & Cells(i, 5) & Cells(i, 7) & Cells(i, 9) lngAnz = lngAnz + 1 Next For i = 0 To UBound(arrSpeicher(), 1) ' kontrolliert , ob Datensätze doppelt sind If Application.Count(arrSpeicher(), arrSpeicher(i)) > 1 Then .....
58.4k Fragen
250k Antworten
7k Nutzer