ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Deleting Hidden Files (https://www.excelbanter.com/excel-programming/292527-deleting-hidden-files.html)

Chad[_7_]

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



All times are GMT +1. The time now is 07:40 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com