Prevent deletion and insertion of cells without preventing any other operation

ditto

New Member
Joined
Mar 21, 2009
Messages
20
I have a lot of cells that are used by array formulas for calculation. I would like to prevent deletion of these cells. But the user should be able to enter data in these cells. There seems to be no option for this in excel's protection options. I also want to prevent insertion of cells between these cells. Can anyone please help me out?
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Hi ditto

Could you make entry to the cells via a user form that unprotects the sheet, adds the data and re-protects the sheet. This way it would stop deletion of the cells and insertion of rows because the WS would be protected.
 
Upvote 0
Hi Ditto

Sorry but you did not mention copy and paste in your original mail, so I am afraid that I can't think of a solution.
 
Upvote 0

Forum statistics

Threads
1,206,814
Messages
6,075,008
Members
446,114
Latest member
FadDak

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