I believe the code is looking for specific workbooks and/or sheets and I need this macro to run ambiguously. I get a 'Subscript out of Range' (error 9).
Also, I am sure the code is extremely messy and would also seek direction on how best to clean it all up. The code at the top was entered by me after I recorded the macro in hopes of correcting the issue, which did not resolve it. I am new to VBA so I would appreciate direction on how best to clean it all up.
Any guidance would be greatly appreciated.
I have attached the code in question.
Bookmarks