Greetings,
I have a series of macros, a couple of which access files in a directory. I ran the macros dozens of times yesterday with no issues, but today, I get the "Run Time Error '1004'" file could not be found error in one of the macros. To make it even more bizarre, the program is able to find the directory just fine in the block above the one that is failing. I have spent hours researching this problem, have tried many of the suggestions I have found in various forums, and still can not get it to work. I am absolutely positive that the directory exists, that the path is correct, and that this is not due to a security setting (I copied the folder path directly out of Widows Explorer and, as I stated above, the program is able to access the folder in a previous block of code).
All the code from the start of the program through the Sub that is failing is below.
The failure occurs in "Sub Copy_MostRecent_Data" on the line "Workbooks.Open (drct & fname)"
I would greatly appreciate some help here!
Thanks!
Bookmarks