Protecting an Excel file on a shared drive

BakerUK

New Member
Joined
Nov 19, 2015
Messages
28
Hi,

There might be an easier way to do this and I'm open to suggestions. But basically I want to leave a file on a network drive for users to access but ensure no-one can make any changes.

Can I fix it permanently to read-only when anyone opens it? Or should I just manage this with password-protected sheets instead?

Thanks in advance

Baker
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Protecting an Excel spreadsheet is always a bit problematic. The security built in is not very secure. There are a few options.

1) Keep a copy on your drive, and if you notice the network copy has changed, replace it with your copy.

2) Password protect the sheets like you mention. You'd have to lock the cells, and probably disallow selecting the locked cells. You may want to protect the workbook so they can't add or delete sheets.

3) Add some event macros that disallow saving. Fairly easy to do, although it requires VBA, and then you'd have to protect the VBA project with a password too. And it's still not especially secure.

Probably easiest to use option 1 or 2, and click the read-only option on the file properties. That will prevent people from casually changing it. If someone really wants to change it, they can bypass all your security, so it's probably not worth option 3.

Hope this helps!
 
Upvote 0

Forum statistics

Threads
1,214,978
Messages
6,122,547
Members
449,089
Latest member
davidcom

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