Hi,
I have a peice of code which opens up to ten work books and manipulates data.
What i need is a piece of code to put at the start which will check for the existance of each file BEFORE the rest of the code executes, if it does not exist it need to error message and exit the code at that point.
the files will all be called read 1.xls, read 2.xls etc and the 1,2, part is already stored as a variable called readno.
any good ideas? tahnks Andy
I have a peice of code which opens up to ten work books and manipulates data.
What i need is a piece of code to put at the start which will check for the existance of each file BEFORE the rest of the code executes, if it does not exist it need to error message and exit the code at that point.
the files will all be called read 1.xls, read 2.xls etc and the 1,2, part is already stored as a variable called readno.
any good ideas? tahnks Andy