You didn't indicate to me where the type mismatch occurred for you, and when I ran the main macro it worked OK.
The second macro you failed to edit the DateCol variable at the top to the proper column with dates for the parsing.
I decided to restructure the new macro a little so you send the DateCol a value in the CALL command from the main macro, that should make it a little more obvious what is needed. I also corrected some filtering errors I spotted in the second macro now that I had an actual dataset to test it on.
Please remove all code from the ThisWorkbook module. These macros do not belong in there.
Click on Insert > Module and put these into the standard module that appears.
Bookmarks