Formatting Issues

How to Fix Excel Cells Expanding Vertically While Typing

Aamir Naveed AkramAamir Naveed Akram Oct 29, 2026 871 views

Question details

Users are experiencing a glitch where Excel cells temporarily expand vertically while typing in shared OneDrive workbooks, returning to their normal height once editing is finished.

How to Fix Excel Cells Expanding Vertically While Typing
Product
Microsoft Excel
Device & OS
not provided
Scenario
Typing data into cells within a shared Excel workbook stored on OneDrive.
Observed behavior
The cell or row expands vertically as soon as typing begins, even for a single character, but snaps back to its original manually set height when another cell is selected.
Before you start

Before troubleshooting, try opening a completely blank workbook to see if the issue persists; if it does not, the problem is specific to the formatting or sharing settings of your current file.

Solution 1Recommended

Disable Wrap Text and Reset Row Height

The most common trigger for vertical expansion is enabled Wrap Text combined with a manually set row height. Resetting these parameters usually resolves the visual glitch.

When row heights are manually restricted, Excel may temporarily expand the row during active editing to show all the text you are typing, snapping it back to the restricted height when you press Enter.

1
Select affected cells

Click and drag to select the affected cells, or press Ctrl+A to select the entire worksheet.

2
Disable Wrap Text

Go to the 'Home' tab on the ribbon and ensure 'Wrap Text' is toggled off.

3
AutoFit Row Height

Still on the 'Home' tab, click 'Format' in the Cells group, and select 'AutoFit Row Height' to clear any rigid manual height settings.

Disable Wrap Text and Reset Row Height
Expected Result: With Wrap Text disabled and row heights set to auto-fit, your typed text should now overflow to the right into empty cells instead of expanding vertically.
Free Microsoft Office alternative

Edit Spreadsheets Smoothly with WPS Office

If shared workbook glitches and formatting bugs in Microsoft Excel are disrupting your workflow, consider switching to WPS Office. It provides a lightweight, highly compatible spreadsheet editor that prevents unexpected formatting errors.

  1. 1. Download WPS Office: Download and install WPS Office for free from the official website.
  2. 2. Open your workbook: Launch WPS Spreadsheet and click 'Open' to locate your existing .xlsx workbook.
  3. 3. Edit without glitches: Type and edit your cells smoothly without the annoying vertical expansion behavior.
Fully compatible with Microsoft Excel formats including .xlsx, .xls, and .csv.Smooth editing experience without unexpected cell expansion glitches.Familiar user interface with zero learning curve.Free and lightweight, avoiding heavy cloud-sync lag.
microsoft office alternative - wps office

Frequently Asked Questions

Why do Excel cells expand vertically when I type?

This usually happens when 'Wrap Text' is enabled or when a specific row height was manually restricted. While you type, Excel temporarily attempts to accommodate the text visually, but snaps back to the restricted height once you finish editing.

Can OneDrive syncing cause cell formatting issues?

Yes, collaborative editing in shared OneDrive workbooks can occasionally cause visual rendering glitches, especially when there are discrepancies between Excel for the Web and the Excel desktop application.

How do I stop Excel from automatically changing row heights?

Select the entire sheet, go to the Home tab, click on Format in the Cells group, and select 'AutoFit Row Height'. Additionally, ensure that 'Wrap Text' is disabled if you want your text to overflow into adjacent empty cells horizontally instead of vertically.