This one works but you will have to specify the rows and columns in the macro.
Option Explicit
Sub test()
'this macro is built expecting dates in column A, i.e., col #1 and row #2
Dim TestDate As Date, _
DateRange As Range, _
DateCol As String, _
LastRow As Long, _
ctrl As Long, _
FirstRow As Long
TestDate = InputBox("enter the earliest date to use: mm/dd/yyyy")
DateCol = "A" '<============== change to suit
FirstRow = 2 '<============== change to suit
LastRow = Cells(Rows.Count, DateCol).End(xlUp).Row
Set DateRange = Range(DateCol & FirstRow & ":" & DateCol & LastRow)
Range(DateCol & FirstRow).Select
Selection.Sort _
Key1:=Range(DateCol & FirstRow), _
Order1:=xlAscending, _
Header:=xlGuess, _
OrderCustom:=1, _
MatchCase:=False, _
Orientation:=xlTopToBottom
Application.ScreenUpdating = False
'start at the bottom of the list and work upward
For ctrl = LastRow To FirstRow Step -1
Select Case Range(DateCol & ctrl).Value
Case Is < TestDate
Range(DateCol & ctrl).EntireRow.Delete
Case Is > TestDate
Range(DateCol & ctrl).EntireRow.Delete
End Select
Next ctrl
Application.ScreenUpdating = True
End Sub
duuggzdates.xls
Bookmarks