Hi folks,
a Colleague of mine integrated some VBA Scripts into one of his Access Databases. There's one part where the script's supposed to create a txt file containg certain information.
Everytime the script runs it first deletes the old file using "kill" command.
Problem is, if there's no txt file existing, the script aborts and doesn't continue with the creation of the txt file. How would I have to change the "kill" command, so that in case there's no txt file existing the script won't bother and goes on instead of aborting ...
I'm afraid I have no idea about VBA ...
Regards
Thomas
a Colleague of mine integrated some VBA Scripts into one of his Access Databases. There's one part where the script's supposed to create a txt file containg certain information.
Everytime the script runs it first deletes the old file using "kill" command.
Problem is, if there's no txt file existing, the script aborts and doesn't continue with the creation of the txt file. How would I have to change the "kill" command, so that in case there's no txt file existing the script won't bother and goes on instead of aborting ...
I'm afraid I have no idea about VBA ...
Regards
Thomas