File Corruption & Recovery

How to Fix Excel Rows Deleted Automatically When Opening a Workbook

Tauseeq MagsiTauseeq Magsi Nov 10, 2026 868 views

Question details

The user needs to recover and fix an Excel workbook where rows are vanishing and formatting breaks every time the file is opened.

How to Fix Excel Rows Deleted Automatically When Opening a Workbook
Product
Excel 2021
Device & OS
not provided
Scenario
Opening a multi-sheet workbook containing monthly data.
Observed behavior
Rows are automatically deleted, and the remaining data appears merged or corrupted upon opening the file.
Before you start

Before attempting any repairs, make a copy of your workbook and save it in a different folder. This ensures you do not lose your original file state if the repair or macro-removal process alters the structure.

Solution 1Recommended

Use the Excel Open and Repair Tool

Use Excel's built-in utility to automatically detect and fix corrupted file structures that may be causing formatting anomalies and data loss.

File corruption can occasionally manifest as merged cells or missing rows. Excel has a native repair function that scans the workbook structure and attempts to restore unreadable content upon opening.

1
Launch Excel and Open Browse

Open Microsoft Excel, click on 'File' in the top ribbon, navigate to 'Open', and select 'Browse' to launch the file explorer window.

2
Select the File and Repair

Locate your corrupted workbook. Instead of clicking the main 'Open' button, click the small drop-down arrow next to it and select 'Open and Repair'.

3
Choose the Repair Option

A prompt will appear. Click 'Repair' to recover as much of your work as possible. If this fails to fix the rows, repeat the process and choose 'Extract Data' to retrieve values and formulas.

Use the Excel Open and Repair Tool
Free Microsoft Office alternative

Try WPS Office for a Stable and Safe Spreadsheet Experience

If your Excel files are frequently experiencing macro conflicts, slow loading times, or corruption, WPS Office provides a lightweight, highly compatible alternative. It safely handles complex workbooks and fully supports Microsoft Excel formats without the heavy resource drain.

  1. 1. Download and Install: Visit the official WPS website to download and install WPS Office for your device.
  2. 2. Open Your Workbook: Launch WPS Spreadsheet and safely open your corrupted or macro-heavy Excel files.
  3. 3. Edit Without Hassle: Enjoy stable editing, fast processing, and immediate auto-saving features.
Highly compatible with Microsoft Excel (.xlsx, .xls, .csv, .xlsm) formats.Lightweight architecture minimizes file corruption and crashing issues.Built-in file repair capabilities for recovering damaged data.Free to use with a familiar interface, requiring zero learning curve.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my Excel file look merged and missing rows when I open it?

This usually happens due to underlying file corruption, conflicting Excel add-ins, or hidden VBA macros (such as a 'Workbook_Open' event) that automatically run and modify the sheet formatting upon opening.

Will saving my file as .xlsx remove all my macros?

Yes. The .xlsx format is inherently macro-free. Saving your workbook in this format is a quick and effective way to safely strip out any harmful or buggy VBA code that might be causing row deletions.

What should I do if the Excel 'Open and Repair' tool fails?

If the standard repair fails, repeat the File > Open > Browse process, select 'Open and Repair', but choose 'Extract Data' instead of 'Repair'. This attempts to strip formatting and salvage raw values and formulas. You can also try opening the file in a free alternative like WPS Office.

How do I find out which add-in is corrupting my Excel file?

Go to File > Options > Add-ins, select 'COM Add-ins' at the bottom, and click 'Go'. Uncheck all the add-ins, restart Excel, and enable them one by one until the row deletion issue reappears to identify the culprit.