Deleting files with VBA

raindrop3

Registered User.
Local time
Today, 07:58
Joined
Sep 6, 2001
Messages
98
Hello,

I want to delete a file (several files) with VBA. But i can't find anything about deleting files. Only copying files. Does someone know the code to delete a file from the harddisk?

Thanks a lot!

Albert Romkes
 
Have a look at the "Kill" Statement in Access Help. Be very careful with this statement as Access gives no warnings or prompts asking "are you sure". It just deletes the file.

HTH
RDH
 
Thanks a lot!

The kill-statement works great

Thanks again for the fast response!

Albert
 

Users who are viewing this thread

Back
Top Bottom