Vba code to narrow down a column containing dates dynamically using Autofilter method


I have column named "Delivery date" and I need to narrow it down based on following criterias usind vba code.Attached is the file that might help in understanding date format

1.Filter the Deliver date column to both the CURRENT and PREVIOUS fiscal months.

Eg if present month is july 2020 then after applying filter it must contain jan-july 2020

2. Filter the Deliver date column to only next month

Eg: after filtering the coluimn must have ionly August of 2020

3Filter the Deliver date column to the rest of upcoming months

Sep-till the end(which could include 2021)


Answer the Question

You must create an account to use the forum. Create an Account or Login