here is a quick and dirty macro that would do it:
Public Sub Pull_Data()
'
Dim Text_Q As String, Date_S As Date, Date_E As Date
Dim Data_R As Range
Sheets("Sheet1").Select
Text_Q = InputBox("Enter text to search in columnB", "FILTER DATA - COLUMN B")
Date_S = InputBox("Enter start date", "START DATE")
Date_E = InputBox("Enter end date", "END DATE")
Set Data_R = Range("A1", Cells(Rows.Count, 1).End(xlUp)).Resize(, 9)
Range("D2").Select
Selection.AutoFilter
ActiveSheet.Range("A1", Cells(Rows.Count, 9).End(xlUp)).AutoFilter Field:=2, Criteria1:="=" & Text_Q, _
Operator:=xlAnd
ActiveSheet.Range("A1", Cells(Rows.Count, 9).End(xlUp)).AutoFilter Field:=4, Criteria1:= _
">=" & Date_S, Operator:=xlAnd, Criteria2:="<=" & Date_E
Columns("A:I").Select
Selection.Copy
Sheets("Sheet2").Select
Range("A1").Select
ActiveSheet.Paste
Sheets("Sheet1").Select
Range("A2").Select
Selection.AutoFilter
End Sub
Bookmarks