Excel's "cannot push objects off the sheet" error means Excel is trying to hide, delete, or resize rows or columns, but a shape, chart, button, comment, or image sitting in that area would be pushed outside the sheet's edge. Excel blocks the action instead of deleting the object. The fix is simple: either move or delete the objects in the way, or change how Excel handles objects when cells are hidden.

What You'll Need

  • A Windows PC or Mac with Microsoft Excel (desktop app - this error is rare in Excel for the web)
  • The workbook that shows the error, opened in Excel
  • A saved backup copy of the file, in case you delete something you meant to keep

Step-by-Step

  1. Save a backup copy first. Go to File > Save As and save a duplicate of the workbook. Some of the fixes below delete objects, and a backup lets you undo anything you regret.
  2. Find out what is blocking the action. The error usually appears when you hide or delete rows or columns, filter data, or group/outline rows. Note which rows or columns you were acting on - the offending object sits in or near them.
  3. Use Go To Special to locate the objects. Press F5 (or Ctrl+G) to open the Go To dialog, click Special, select Objects, and click OK. Excel selects every shape, button, chart and image on the sheet. Look carefully along the edges of the sheet and around the rows or columns you tried to hide.
  4. Decide whether the objects are needed. Small buttons often come from macros or forms; tiny stray shapes are frequently invisible leftovers from pasted content. If the objects are useful (a chart you want, a form button), move them: drag them, or press Ctrl+X, click a safe cell, and press Ctrl+V. If they are junk, press Delete while they are still selected.
  5. Change how Excel handles objects when hiding data (optional but recommended). Click File > Options > Advanced. Under "Cut, copy, and paste" find the setting that says "Cut, copy, and sort inserted objects with their parent cells" - make sure it is ticked so objects move with cells. Menu wording can differ slightly between Excel versions and between Windows and Mac, so look for the object-handling options in the Advanced section if the label does not match exactly.
  6. Retry the original action. Hide, delete, filter or group the rows or columns again. With the objects moved or removed, the error should be gone.
  7. Repeat on other sheets if needed. The error is per-sheet, so if it appears again while working in another tab, run the same Go To Special > Objects check there.

Common Mistakes

  • Deleting every object blindly. Go To Special > Objects selects everything, including charts and macro buttons you may rely on. Deselect items you want to keep by Ctrl+clicking them before pressing Delete.
  • Only checking visible areas. Objects already positioned just past the last used column or row are easy to miss. Press Ctrl+End to jump to the last used cell, then scroll a little further to look for stray shapes near the sheet's edge.
  • Ignoring filtered rows. The error also fires when applying or changing a filter, not just manual hiding. If it appears when filtering, the object is inside the filtered range.
  • Forgetting to save before making changes. Undo does not always cover deleted shapes after the file is saved and reopened.

Tips

  • Zoom out (View > Zoom, or Ctrl+scroll wheel) to see the whole sheet at once - stray objects become much easier to spot.
  • Objects with "Move but don't size with cells" or "Don't move or size with cells" set in their properties are the usual culprits. Right-click the object > Size and Properties > Properties to check and change this.
  • If the file came from an export (from SAP, web tables or PDF converters), expect dozens of tiny invisible shapes. Selecting with Go To Special and deleting them all is usually safe for exported data with no macros.
  • Old-style cell comments are also objects. If comments are spread across the sheet, hiding their rows can trigger the error.

Troubleshooting

The error still appears after deleting objects. The sheet may contain objects in hidden rows or columns. Unhide everything: press Ctrl+A to select the whole sheet, then right-click any row or column header and choose Unhide. Run Go To Special > Objects again.

Go To Special finds nothing. The blocking object may be a comment or a chart in a hidden sheet state. Check the Review tab for comments, and make sure no grouped outlines are collapsed when you search.

The workbook has protected sheets. You cannot move or delete objects on a protected sheet. Ask whoever set the protection for the password, or unprotect it via Review > Unprotect Sheet if you know the password.

The file behaves strangely overall. Corrupt workbooks can produce phantom objects. Try opening the file in Excel for the web, or copy your data into a fresh workbook (paste as values to avoid carrying objects over) and rebuild any formatting you need.

You need the macro buttons gone but keep the macros. Delete the button shapes, not the code - the macros remain available via the Macros list on the View tab or by pressing Alt+F8.

Frequently Asked Questions

Does this error damage my data?

No. Excel blocks the action precisely so nothing is lost. Your data and the object both stay intact; you just cannot complete the hide or delete until the object is dealt with.

Why do I get this when hiding columns but not rows?

The object sits in the columns you are hiding. It is purely about location - whichever action would push an object past the sheet boundary triggers it.

Will this happen in Excel for the web?

The message is specific to the desktop Excel app. If a file triggers it on desktop, cleaning the objects there fixes it everywhere.

Can I stop Excel from showing this error?

No setting turns the warning off. The only real fix is moving or removing the objects in the affected area.

Does deleting the objects remove cell data too?

No. Shapes, images and buttons are separate from cell contents. Deleting them leaves all values, formulas and formatting untouched - only comments in cells are deleted along with their comment objects.