Deleting Hidden Files

C

Chad

I have a routine that I have written inside an Excel Macro that writes to a file used by another program. As of 1 month ago this worked fine, however recently I have discovered that I get a permission denied error. I have found that if I change the file properties from hidden, the routine still works. The problem is that the program that uses this file "hides" this file when it accesses it

I suspect that a recent service patch that I upgraded windows to has changed system security to prevent this

Any ideas

Here is the line that I am having the problem with..

Kill ("p:\example.dat"

Thanks
 
Top