exRP12Nuke
Technical User
Good afternoon,
I am trying to find and select rows that are less than a particular date. Here is my code so far T1 is the date that I am trying to find.
What do I need to have inplace of "<x" to find values that are less than x?
Thanks!
I am trying to find and select rows that are less than a particular date. Here is my code so far T1 is the date that I am trying to find.
Code:
Sub MoveData()
x = Range("T1")
Dim LRS As Long
Dim Dx As String
Range("H:H").Select
If WorksheetFunction.CountA(Cells) > 0 Then
LRS = Selection.Find(What:="<x", After:=[H1], SearchOrder:=xlByRows, SearchDirection:=xlPrevious).Row
End If
End Sub
What do I need to have inplace of "<x" to find values that are less than x?
Thanks!