If you want to stop a file from being deleted why don't you just change the
file-properties to read-only?



"Tufail" wrote:

> hello
> i want creat a macro that stop to delete workbook.
> thanks in advance.