Hello all,
Merry Christmas! I hope you all are safe and healthy. 
I have an existing macro which copies 4 distinct ranges from a filtered table from one worksheet to another worksheet in the same workbook. This works correctly.
I'm now trying to convert this to be able to do that from a filtered table in one worksheet to another worksheet in another workbook.
I think I was able to handle that first part correctly as the first copy module runs correctly and data is copied before I get the "Type mismatch" error message. But if I understand the code correctly, there's a loop at the end where I now get issues for some reason. Because of privacy issues, I'm unable to upload the actual workbook, but I can post the image of the layout with the code. This might be a shot in the dark, but I'm thinking it should be a small adjustment that someone clever in VBA can spot quickly.
If not, my apologies and I can remove the post.
It's this part of the code which triggers an error:
Thanks in advance. 
2.png
Bookmarks