I would like to write vba code that asks the user "which column" they want to filter; and then "what date" they want to filter that column by (ie any date after mm/dd/yyyy)
Something like:
Something like:
Sub FilterByInput()
Dim iPutFound As Range
Dim iPutFound As Range
Dim mycol As String
Dim mydate as Variant
mycol = Application.InputBox("Enter alpha-numeric of Column to be filtered -ie. AP3)
mydate = Application.InputBox("Enter date since last update was ran- mm/dd/yyyy")
Application.ScreenUpdating = False
Range(mycol).Select
ActiveSheet.Range ("$A$1:$DK$11000).Autofilter Field = Selection.Column, Criteria1:=Array(mydate), Operator=xlFilterValues
'The code will resume with copying and pasting the filtered results to another sheet, etc
End sub