So have you managed to solve the problem and find the real reason why it occurs? If not, you may encounter this problem in the future.
If you get this problem because of the XLS file currently opened, I would try to close it automatically. You can attach to the running instance of Excel using...