I cannot figure out what is wrong with this code. I've run it on one workbook and it worked like it always does. Then I run it on the one I need and it fails after seven exports. I even moved the eight sheet to the front to see if that was causing it to fail. Nope. It has something to do with the filenames of about 13 of them. I can't provide those, they are personal info, but I am hoping someone might point me in the right direction for why I am getting "invalid procedure call or argument" error (see bolded part in code below). I can't do an On Error Resume Next, because it puts Exported next to the file that would have otherwise stopped to exports. It needs to say the Not exported, then I can troubleshoot.
Bookmarks