
Originally Posted by
Jockster
Thanks elmarko,
Have tried your code but when I changed the file name to check the 'else' part of the function, I get the debug window with "Run-time error '53': File not found". So, even with the 'on error resume next' and 'on error goto 0' in place, the code still halts and displays the debug window.
Is there something in place which is cancelling out the error handling 'override'?
The function part of the code can be left as it is,
You only need to edit below the line for the path and what you want it do if it does, or does not exist
Bookmarks