View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Chad[_7_] Chad[_7_] is offline
external usenet poster
 
Posts: 2
Default Deleting Hidden Files

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