Sub Trie1()
Dim nowD As String, maxD As String
nowD = Format(Sheets("SET").Range("L3"), "mm/dd/yyyy")
maxD = Format(Sheets("SET").Range("L4"), "mm/dd/yyyy")
Sheets("ERP").ListObjects("Tableau2").Range.AutoFilter Field:=3, _
Criteria1:=">=" & nowD, Operator:=xlAnd, Criteria2:="<=" & maxD
End Sub