I have dates in Col E. I have tried to write code to retain the last two months and delete all the other dates.
My dates are in format dd/mm/yyyy
In this example I want to Retain all the dates containing June 2023 and 2023 and delete the rest from row 2 onwards
I have highlighted the dates to retain in yellow
It would be appreciated if someone could kindly amend my code
Please Login or Register to view this content.
Bookmarks