I am offically going to go crazy! LOL. I have some VB code that is in a seperate workbook that I run via a button placed on the active worksheet. Here is the relevant section of code that "sometimes" causes issues.
The workbook is located on sharepoint but it would be open any time this macro is ran. I personally never have any issues at all with this macro, but others do. For some people it will work once but then it throws debug errors saying Object can not be found. The file open is named the exact same as indicated in the code. The rest of the code finds the workbook, so any idea why maybe the problem section "sometimes" throws a unable to locate object error?
I probably have some duplicate code that isn't nessecary as I tend to go in and add little bits here and there. Portions of the code were helped to be put together with some forum members and I appredicate that. I probably have a few extra activate lines but for some reason even tho the With's would refer to a certain sheet it wouldnt actually do the tasks on that sheet unless I activated it.
This is the complete code just in case there is something else causing the problem.
Bookmarks