I have managed to make it work but don't understand the reason it now needs this. I guess the problem is coming in about a third of the way down with:
The next line is:
But this isn't giving me any results (I put in a bit which gives me an error code if fname = 0). If I amend it to be:
It gives me results. However it fails at:
Again, it works if I roll in the fpath to give:
Now it seems to work. But why!? Why is the Chdir not bringing me to the specified directory? Why is my workbook open function not working with the fname I have specified (I presume fname is taking on only the name and not the path, even though I have specified path...).
I am confused as to why this has changed...
Bookmarks