How to Prevent an Excel File from deletion by mistake/wantedly

nirmalachr

New Member
Joined
Nov 25, 2013
Messages
26
Good evening to the forum,

Actually i had made an excel file for sending automatic mails using outlook and that can be accessed by eveyone in my office, unfortunately today the file was deleted by somebody, luckily i was taking a backup of the file using batch file every one hour.

I would like to know any method or VBA code to prevent an excel file from deletion by other people in network.

Kindly help me.:confused:

Thanks in advance.
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
copy the file to a secure location and create a shortcut only allow users to have access to a shortcut to the file .... maybe
 
Upvote 0
copy the file to a secure location and create a shortcut only allow users to have access to a shortcut to the file .... maybe

Thank you AKA,

For timebeing i will use the same method and i request you to please proivde any kind of protection can be given to the file other than shortcut.

Once again thank you very much.

:)
 
Upvote 0
you could disable things using VBA but this would only prevent changes .. who ever is deleting the file is doing so outside of excel

you could add an automatic backup of file to either the file opening or file closing events and even add the user name as extension so you would know last user to open or close file

none of this would prevent the deletion using windows rather than excel
 
Upvote 0

Forum statistics

Threads
1,215,053
Messages
6,122,882
Members
449,097
Latest member
dbomb1414

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top