I have a need. The same filtering methods are done monthly on roughly 15k rows of data. Nothing changes, filtering-wise, other than the date. The date filter is complex so-to-speak, It is broken up by Year/Month/Day/Time.
What I would like is that when the macro runs and it comes to field:=12 (Column L) a popup occurs which contains the exact same options as what is present when done manually. I will include code below. However, if this becomes moreso an act of god to achieve, I could be happy if the MACRO selected all entries within the year/month I am within when running the MACRO. I have many MACROS that require this ability, however, I will include a simple one.
Sheets("Data Drop").Activate
If ActiveSheet.FilterMode Then
ActiveSheet.ShowAllData
End If
ActiveSheet.Range("A1").AutoFilter Field:=3
ActiveSheet.Range("$A$1:$AC$200000").AutoFilter Field:=10
ActiveSheet.Range("$A$1:$AC$200000").AutoFilter Field:=10, Criteria1:="Yes"
ActiveSheet.Range("$A$1:$AC$149961").AutoFilter Field:=12, Criteria1:=7, Operator:=11, Criteria2:=0, SubField:=0
ActiveSheet.Range("$A$1:$AC$200000").AutoFilter Field:=21
ActiveSheet.Range("$A$1:$AC$200000").AutoFilter Field:=21, Criteria1:="Development"
ActiveSheet.Range("$A$1:$AC$200000").AutoFilter Field:=25
ActiveSheet.Range("$A$1:$AC$200000").AutoFilter Field:=25, Criteria1:="Signatures completed"
Dim rng As Range
Set rng = ActiveSheet.AutoFilter.Range
MsgBox rng.Columns(1).SpecialCells(xlCellTypeVisible).Count - 1 & " of " & rng.Rows.Count - 1 & " Records"
Sheets("Control Panel").Select
Display More
Here is the screen shot of the filter, in this example, I'd want everything selected in December: