Sheet Protection

sohaibj

Board Regular
Joined
Jan 28, 2004
Messages
158
I've protected a sheet but anyone can copy from selecting sheet tab and copy it in another file and can make any changes.

How can i prevent it from even doing so
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.

DominicB

Well-known Member
Joined
Oct 3, 2005
Messages
1,569
Good moning sohaibj

Yes, Excel's security is not very secure, but they won't be able to paste the sheet back to the original file. Also if a user wants to remove the password a simple Google search will turn up macros that will remove it in seconds.

To answer your original question, some code can be found here that will prevent the user from copying and pasting :

http://www.xcelfiles.com/VBA_Quick13.html

HTH

DominicB
 

Forum statistics

Threads
1,141,913
Messages
5,709,298
Members
421,625
Latest member
renrut_5

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
Top