How to Fix Cannot Insert or Delete Rows in Excel
Question details
The user is unable to insert or delete entire rows within an Excel spreadsheet.

- Product
- Microsoft Excel
- Device & OS
- Windows
- Scenario
- Editing an existing spreadsheet where structural changes like adding or removing rows are blocked.
- Observed behavior
- Excel prevents the insertion or deletion of rows, which may be caused by sheet protection, interfering tables, or application corruption.
Before modifying sheet protection or repairing the application, save a backup copy of your current workbook to ensure no data is accidentally lost during troubleshooting.
Remove Worksheet Protection
Worksheet protection restricts structural changes. Disabling it is the most common fix when row options are grayed out.
When an Excel worksheet is protected, actions like formatting cells, inserting rows, and deleting rows are often disabled to prevent accidental modifications to the document's structure.
Open your workbook and click on the 'Review' tab located in the top Excel ribbon.
Click on 'Unprotect Sheet' in the Protect group. If the worksheet was protected with a password, you will be prompted to enter it.
Right-click a row number on the left side of your screen and verify if the 'Insert' and 'Delete' options are now available.

Select Specific Data Ranges Instead of Entire Rows
If formatted tables exist elsewhere on the sheet, Excel may block entire-row operations to prevent disrupting those tables.
Test in a New Workbook or Repair Office
If row manipulation fails across all sheets, the specific file may be corrupted, or your Office installation requires a repair.
Use WPS Spreadsheet to Easily Manage Rows and Data
If your Excel application is experiencing errors or file corruption, you can quickly open and edit your workbooks using WPS Office. WPS Spreadsheet provides a smooth, error-free experience for organizing your data, with complete support for all standard spreadsheet operations.
- 1. Open Your Workbook in WPS: Launch WPS Office, click 'Open', and select your existing Excel file.
- 2. Select the Target Row: Click on the row number indicator on the left side of the workspace to highlight the entire row.
- 3. Manage the Row: Right-click the selected row number and choose 'Insert Row' or 'Delete Row' from the quick menu.

Frequently Asked Questions
Why are the 'Insert' and 'Delete' options grayed out in my right-click menu?
This typically occurs when the worksheet or workbook is protected. You can resolve this by going to the Review tab and clicking 'Unprotect Sheet'. It can also happen if multiple sheets are grouped together; right-click a sheet tab and select 'Ungroup Sheets' if applicable.
Can merged cells prevent me from inserting or deleting rows?
Yes. If your selection includes part of a merged cell that spans across multiple rows or columns, Excel may restrict structural changes. You will need to select the merged cell, click 'Unmerge Cells' on the Home tab, perform your row operations, and then re-merge them if necessary.
How do I insert copied rows without overwriting existing data?
Copy the row you want to duplicate, right-click the row number where you want to place it, and select 'Insert Copied Cells' instead of the standard 'Paste' option. This will push the existing rows downward to make room for the new data.




