Cannot delete files through VBA

  • Thread starter Thread starter dgmoore
  • Start date Start date
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
 
Back
Top