I have some code in "x.xls" which runs periodically to open a csv file and copy the values there to x.xls. Occasionally another program will have the csv file open writing new data before saving and closing it.
If my code attempts to open the csv file at this time, I get the error message, "Read only, ....". Is it possible to write something into my code which will cause it to wait until the csv file is available and then open it and do its stuff, rather than stopping the code and giving me an error message?
Thanks for any help
Mat
Bookmarks