Hello all,
This is my first time posting, but I'm in a real pickle. I'm pretty good with code in general and have learned VBA without much problem, but this one is stumping me. We have a workbook with VBA code to update it for a new year. When this code is run, it opens up 4 other excel files, reads data in, and closes them, in sequence. This file has been around and working for about two years, and was run to update as recently as this February without problems.
Just yesterday, I opened it up, clicked the button, and after a little run time, it said "Microsoft Excel has stopped working" and tried to recover. After much messing around, I've found the problem is when it tries to open the last file, called "Weekly Plan.xlsx". Originally, it opened it with:
Thinking this might be the problem, I changed it to:
It didn't change anything. And, mind you, this is the fourth file to be opened this way, and I changed all of them. It consistently crashes on this one.
I can open this file myself, manually, without any problems. The file has no code in it, and only two links, both to files that were previously opened in this code. However, the file does have an "Open in Read-Only" prompt. So, I saved a copy of it, titled "Copy of Weekly Plan.xlsx" without the prompt, and used it instead. It worked. The only problem is that Weekly Plan is updated by another system regularly, so I need that name. After messing around a little more, I made another copy of Weekly Plan titled "Weekly Plan2.xlsx", again without the prompt. It crashed. I removed the original file and renamed the Copy of to just "Weekly Plan.xlsx". It crashed. Back to Copy of and it works again.

At this point, I'm about ready to beat my head against my computer until one or the other suffers a catestrophic failure. Can anyone help me understand this?
Bookmarks