Sukumar
New Member
Hi,
In following code, I want to change two things,
First, I want to change Range to select last low of Col F.
Second, I want to change Criteria to have yesterday's date, i.e. Today()-1
Sukumar
In following code, I want to change two things,
Code:
Cells.Select
Selection.AutoFilter
With ActiveSheet.Range("$A$1:$F$800")
.AutoFilter Field:=1, Operator:=xlFilterValues, Criteria2:=Array(2, "12/05/2016")
.AutoFilter Field:=3, Criteria1:="Approved"
End With
First, I want to change Range to select last low of Col F.
Second, I want to change Criteria to have yesterday's date, i.e. Today()-1
Sukumar