[b]Option Explicit
Sub Vergleichen_Löschen()
Dim i As Integer
For i = 2 To Range("A65536").End(xlUp).Row
If Format(Cells(i, 1), "dd.mm.yyyy") = Format(Cells(i + 1, 1), "dd.mm.yyyy") And _
Format(Cells(i + 1, 1), "hh:mm") > Format(Cells(i, 1), "hh:mm") Then
Rows(i).ClearContents
End If
Next
Range("A2:A" & Range("A65536").End(xlUp).Row).SpecialCells(xlCellTypeBlanks).EntireRow.Delete
End Sub[/b]
RPC-Server ist nicht verfügbar / Datum & Uhrzeit
Poseidon 25.01.2007 - 1445 Hits - 3 Antworten
Uhrzeit und Datum
Goliath 26.01.2007 - 84 Hits - 2 Antworten
Datum und Uhrzeit
Mustang351 22.03.2007 - 87 Hits - 3 Antworten
Falsche Uhrzeit
strahleauge 05.04.2007 - 230 Hits - 3 Antworten
Excel,Rang auch - Zahlen anzeigen
Ali755 03.02.2008 - 57 Hits - 26 Antworten