I noticed that in your attachment the dates in cells D1041 and D1017 are formatted different.
These rows will not be copied into the relevant sheets because of that.
To fix that with the code in my attachment, add one line in the code.
A more robust code, I think, would be:
This has the advantage that the dates can be of different formats.
However, empty cells are seen as a 1 which means that the month of January will have extra entries (all rows without dates in Column D)
BTW, I don't have the smart indent add on installed yet.
Bookmarks