Cannot delete files through VBA


D

dgmoore

I have an app that copies files from one directory to another and then
deletes the files from the original directory.

I have full permissions on the directories in question and can copy and
delete manually with no problem; however, while I can copy files
successfully using VBA (FileCopy), attempts to delete files (Kill or
[FileSystemObject].DeleteFile) return error 70 "Permission denied".

LAN staff have not been able to find the problem - all permissions on
the directories in question are apparently correct.

I'd appreciate any suggestions.

Thanks
Dave
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top