Excel Performance Problems

How to Find and Delete Hidden Lines or Objects in Excel

Chanuka GeekiyanageChanuka Geekiyanage Nov 10, 2026 870 views

Question details

The user needs to find and delete hidden lines or objects in Excel that are causing performance issues and file bloat.

How to Find and Delete Hidden Lines or Objects in Excel
Product
Excel
Device & OS
not provided
Scenario
A workbook contains hidden lines that unexpectedly increase the file size from 32 MB to 120 MB when saved as an older .xls file, leading to 100% CPU usage and extreme sluggishness.
Observed behavior
Invisible objects (such as "Lines 2") appear automatically, severely degrading application performance, consuming available CPU resources, and drastically increasing document size.
Before you start

Before removing objects, save a backup copy of your Excel workbook to prevent accidental data loss. It is also highly recommended to save your file in the newer .xlsx or .xlsm format instead of the outdated .xls format.

Solution 1Recommended

Use the Selection Pane to Find and Delete Hidden Objects

The Selection Pane lists all objects on the current worksheet, allowing you to easily spot, select, and delete invisible or hidden lines individually or in groups.

The Selection Pane is the most precise tool for managing graphics, shapes, and hidden lines in a spreadsheet. It provides a visual list of every object on the active sheet, even if its visibility is toggled off.

1
Open the Selection Pane

Navigate to the 'Home' tab on the ribbon. Click on 'Find & Select' in the Editing group, and then choose 'Selection Pane' from the drop-down menu.

2
Identify hidden lines

In the Selection Pane that appears on the right side of the screen, look through the list for unwanted objects (for example, items named 'Lines 2'). An eye icon next to the object indicates whether it is currently visible or hidden.

3
Select the objects

Click on the name of the object in the pane to select it. To select multiple hidden lines at once, hold down the 'Ctrl' key on your keyboard while clicking the object names.

4
Delete the selected objects

Once the unwanted lines are highlighted in the pane, press the 'Delete' key on your keyboard to remove them from the workbook.

Use the Selection Pane to Find and Delete Hidden Objects
Performance Boost: Removing these hidden objects should immediately reduce CPU usage and make the spreadsheet responsive again.
Optimize Spreadsheet Performance

Use WPS Spreadsheet to Manage Objects and Boost Performance

WPS Office provides an intuitive Selection Pane to easily track down, hide, or delete invisible objects and lines. It securely handles complex graphical data, prevents the file bloating commonly associated with older formats, and helps you maintain a fast, responsive workflow.

  1. 1. Open your file in WPS Office: Launch WPS Spreadsheet and open the bloated or slow-performing workbook.
  2. 2. Access the Selection Pane: Navigate to the 'Page Layout' or 'Home' tab on the ribbon, find the 'Find and Replace' menu, and click on 'Selection Pane'.
  3. 3. Identify hidden lines: Review the list in the task window on the right to spot unwanted lines or shapes that are taking up resources.
  4. 4. Delete and optimize: Click on the unwanted objects in the list and press the Delete key. Save your optimized document as a .xlsx file to ensure long-term stability.
Easily locate and delete hidden shapes using a streamlined Selection PaneFully compatible with Microsoft Excel formats including .xlsx, .xlsm, and .xlsLightweight application design that consumes significantly less CPU and RAMFree to use with a familiar, tabbed user interface for seamless migration
QA img-9

Frequently Asked Questions

Why do hidden lines randomly appear in my Excel workbook?

Hidden lines and objects often accumulate unintentionally when you copy and paste data from external sources, websites, PDF documents, or other workbooks that contain invisible shape data or formatting artifacts.

Can I select all hidden objects in a worksheet at once?

Yes. You can press F5 to open the Go To dialog, click Special, select Objects, and click OK. This instantly highlights all shapes, charts, and lines on the active sheet, allowing you to delete them simultaneously by pressing the Delete key.

Why does my file size increase dramatically when saving as .xls?

The older Excel 97-2003 (.xls) format is not optimized for modern graphical objects. Saving a workbook with numerous lines or shapes in .xls causes the file to bloat exponentially because it lacks the efficient ZIP-based compression used by the newer, XML-based .xlsx format.