Automatically Update Advanced Filter and filter on Month only

I've got a spreadsheet with a main table of data on the first tab.  In the main table is a column for "renewal date". I am trying to do two things:

1.  create an advanced filter to copy any record from the main table to a second tab if the record has a January renewal date.  I would like it to copy any record with a January date, regardless of year, so it could be January 2013, 2015 or 2020.  

2.  I would like the filter to update automatically as new data is entered into the main table.  

I created a dynamic named range called SalesTable so the target range of data on the main tab would update automatically.  I then used that named range in the advanced filter "list range" field.  

In the attached spreadsheet you can see that I am using criteria for my advanced filter of >=1/1/2016 and <=1/1/2016 just because I wasn't sure how to make it only filter based on month.  As you can see in the January tab, the advanced filter correctly pulled out January 2016 dates.  I just need to know how to make it look at the month for the criteria.  

And then to make the filter update automatically, I added the following code to the January tab so it would refresh.  For whatever reason it isn't refreshing.  

 Private Sub Worksheet_Change(ByVal Target As Range)

    If Me.FilterMode = True Then
        With Application
           .EnableEvents = False
           .ScreenUpdating = False
        End With

        With ActiveWorkbook
            .CustomViews.Add ViewName:="Mine", RowColSettings:=True
          Me.AutoFilterMode = False
            .CustomViews("Mine").Show
            .CustomViews("Mine").Delete
        End With


         With Application
           .EnableEvents = True
           .ScreenUpdating = True
        End With
    End If

End Sub
Copy-of-Sample-Sales-Call-Log.xlsm
witzph1Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Roy CoxGroup Finance ManagerCommented:
Try this  You can change the Month in M5. It also uses a hidden column for determining the month, see column G
Copy-of-Sample-Sales-Call-Log--1-.xlsm
0
Roy CoxGroup Finance ManagerCommented:
I've added a validation list to select a month and a button to run the code
EE-Sales-Call-Log--1-.xlsm
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
witzph1Author Commented:
That works.  Thank you so much!
0
Roy CoxGroup Finance ManagerCommented:
Pleased to help
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.