You try to insert a new row in Excel and see the error: “Microsoft Excel can’t insert new cells because it would push non-empty cells off the end of the worksheet.” This error occurs when objects such as shapes, charts, comments, or images exist in the last row or column of your worksheet. Excel prevents inserting rows or columns if doing so would force those objects beyond the worksheet boundary. This article explains why the error happens and provides step-by-step methods to clear the blocking objects so you can insert rows again.
Key Takeaways: Fix the “Objects Would Move” Error in Excel
- Go To Special > Objects: Select all objects on the worksheet in one click so you can delete them.
- Clear last row or column content: Remove data, formatting, or objects in row 1,048,576 or column XFD.
- Home > Find & Select > Selection Pane: View and delete individual objects like shapes or charts that block row insertion.
Why Excel Shows the “Objects Would Move” Error
Excel worksheets have a fixed size: 1,048,576 rows and 16,384 columns (column XFD). When you insert a new row, every existing row shifts down by one. If an object — such as a shape, picture, chart, comment, or embedded control — is placed in the last row (row 1,048,576) or last column (column XFD), Excel cannot shift it further because there is no space. The same error occurs if an object spans into the last row or column, or if the last row or column contains any data, formatting, or formula even if invisible.
The error message specifically mentions “non-empty cells” but the actual cause is often an object. However, any content in the last row or column — including a stray space, a border, or a comment — can trigger the error. Excel treats the entire row as occupied if even one cell in the last row has data or an object.
Common Objects That Cause the Error
The following items in the last row or column will block row insertion:
- Shapes, text boxes, arrows, or icons
- Charts or chart elements
- Pictures or SmartArt graphics
- Comments or threaded comments
- Form controls or ActiveX controls
- Embedded OLE objects
- Any data, formula, or formatting (including conditional formatting)
Steps to Clear Objects and Insert Rows
Use the following methods to identify and remove the blocking objects. Try Method 1 first because it is the fastest.
Method 1: Delete All Objects Using Go To Special
- Open the Go To Special dialog
Press Ctrl+G (or F5) to open the Go To dialog. Click the Special button at the bottom left. - Select Objects
In the Go To Special dialog, choose Objects and click OK. Excel selects every object on the active worksheet — shapes, charts, pictures, and all other objects. - Delete the selected objects
Press the Delete key on your keyboard. All selected objects are removed from the worksheet. If you need to keep some objects, skip to Method 2. - Test row insertion
Right-click a row number and choose Insert. If the error no longer appears, the object was the cause. If the error persists, proceed to Method 2 to check for other content in the last row or column.
Method 2: Clear the Last Row and Last Column
- Navigate to the last row
Press Ctrl+Down Arrow to jump to row 1,048,576. Look for any visible data, shapes, or comments. If the row appears empty, press Ctrl+Shift+End to see if Excel considers any cells as used. - Clear the entire last row
Click the row number for row 1,048,576 to select the entire row. On the Home tab, in the Editing group, click Clear and choose Clear All. This removes data, formatting, comments, and objects. - Navigate to the last column
Press Ctrl+Right Arrow to jump to column XFD. Repeat the clearing process: select the entire column and use Clear > Clear All. - Remove any remaining objects
Press Ctrl+G > Special > Objects again and delete any remaining items that might have been hidden or grouped. - Test row insertion
Right-click a row number and choose Insert. The error should be resolved.
Method 3: Use the Selection Pane to Remove Specific Objects
- Open the Selection Pane
On the Home tab, click Find & Select in the Editing group, then choose Selection Pane. A pane appears on the right listing all objects on the active worksheet. - Identify objects in the last row or column
Scroll through the list. Click each object to see its location on the worksheet. Look for objects near row 1,048,576 or column XFD. - Delete or move the blocking object
Select the object in the pane and press the Delete key. Alternatively, drag the object to a safe area (for example, row 1,000,000) if you want to keep it. - Test row insertion
After removing the object, try inserting a row again.
If the Error Persists After Clearing Objects
Excel Still Says “Cannot Insert Row” After Deleting All Objects
If the error continues, the last row or column may contain invisible formatting or a stray comment. Follow these steps:
- Check for comments
Press Ctrl+G > Special > Comments. Excel selects all cells with comments. Look for any comment in the last row or column and delete it by right-clicking the cell and choosing Delete Comment. - Clear conditional formatting rules
On the Home tab, click Conditional Formatting > Clear Rules > Clear Rules from Entire Sheet. - Reset the used range
Press Alt+F11 to open the VBA editor. Press Ctrl+G to open the Immediate window. TypeActiveSheet.UsedRangeand press Enter. This recalculates the used range. Close the VBA editor and save the workbook. Try inserting a row again.
Insert Row Works on One Sheet but Not Another
The error is sheet-specific. Repeat the clearing steps on each sheet where the error appears. Use the Ctrl+Page Down shortcut to switch between sheets quickly.
Go To Special Objects vs Manual Deletion: Key Differences
| Item | Go To Special Objects | Manual Deletion |
|---|---|---|
| Speed | Selects all objects in one click | Requires finding and deleting each object individually |
| Risk of deleting wanted objects | High — deletes all objects on the sheet | Low — you choose which objects to remove |
| Best for | Quick fix when you don’t need the objects | When you must preserve specific shapes or charts |
| Works with hidden objects | Yes — selects objects even if hidden | No — you must first reveal hidden objects |
Use Go To Special when you want a fast reset. Use manual deletion or the Selection Pane when you need to keep some objects on the worksheet.
Conclusion
You can now fix the “Excel cannot insert row because objects would move” error by using Go To Special to delete all objects or by clearing the last row and column manually. Always check row 1,048,576 and column XFD first because they are the most common trigger points. For future prevention, avoid placing shapes, charts, or comments in the last few rows or columns of your worksheet. If you work with large datasets, consider using Excel tables or dynamic named ranges that automatically adjust without hitting the worksheet boundary.