Deleting rows on a protected worksheet

Giordano Bruno

Well-known Member
Joined
Jan 7, 2007
Messages
1,341
I open a new workbook and protect the sheet with no password allowing insertion and deletion of rows. Home>Insert allows rows to be inserted, but Home>Delete is greyed out.
There is no vba code and no addins. Does anyone have an explanation
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Based on this...
I believe that it is because the cell in the row you are trying to delete are locked.

Hope that helps,

Doug
 
Upvote 0
Thanks Duggie. Have you tried this yourself? Even if all of the cells are unlocked, I still have the same behavior. Also, while the sheet is locked, I am still able to select the row and remove it with the short cut Alt-e > d, so there is clearly no restriction applying to the removal of rows on the locked worksheet; I just can't do it using the ribbon commands. I'm using Excel 365, windows 10 btw.
 
Upvote 0
It worked for me. I unlocked the cells for about 10 entire rows, protected the sheet, and was able to delete those rows. I right clicked and hit delete.

Doug
 
Upvote 0
Hi Duggie. Thanks for that, but the point is that the ribbon does not allow this. As you say, there is no problem removing the rows, so what is the reason that the ribbon solution (Home > Delete> Rows is greyed out.
 
Upvote 0
I just checked, on rows where I "unlocked" all cells in the entire row, protected allowing Insert and Delete Rows, I can delete the entire row from the right-click menu or the ribbon.
 
Upvote 0
Hi Duggie. Thanks for that, but the point is that the ribbon does not allow this. As you say, there is no problem removing the rows, so what is the reason that the ribbon solution (Home > Delete> Rows is greyed out.
I can only reproduce this by "not" selecting the entire row.
Are you sure you have the whole row selected either by clicking in the left margin or pressing shift+spacebar ?
 
Upvote 0

Forum statistics

Threads
1,215,143
Messages
6,123,277
Members
449,093
Latest member
Vincent Khandagale

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