Full disclosure, I have posted this code to this website twice before, and both issues were resolved.
I am receiving a Runtime error 1004 and a runtime error 5 when I run my code. I am not sure which lines is throwing the error. Excel presents the warning but does not take me to the line causing the error.
I am looping through a range that was generated by a pivot table, so I know the range items are valid. I am filtering said pivot tables by the range list. From there I am saving the file to a folder that exists.
The odd part is, the code will execute (never completely) with no issue and other times (at various places in the list) it will throw the error.
I have included my code below a sample was too big to attach (no matter what I did to shrink the file size). Any help would be greatly appreciated,
Bookmarks