How to Fix Excel Cells Expanding Vertically While Typing
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.

- 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 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.
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.
Click and drag to select the affected cells, or press Ctrl+A to select the entire worksheet.
Go to the 'Home' tab on the ribbon and ensure 'Wrap Text' is toggled off.
Still on the 'Home' tab, click 'Format' in the Cells group, and select 'AutoFit Row Height' to clear any rigid manual height settings.

Isolate Desktop and Web App Rendering Issues
Shared workbooks on OneDrive can render differently in Excel for the Web compared to the desktop app. Isolating the environment helps determine if it's a browser-based visual glitch.
Transfer Data to a New Workbook
Since the issue typically does not occur in new workbooks, the current shared file might have corrupted formatting or legacy structural issues.
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. Download WPS Office: Download and install WPS Office for free from the official website.
- 2. Open your workbook: Launch WPS Spreadsheet and click 'Open' to locate your existing .xlsx workbook.
- 3. Edit without glitches: Type and edit your cells smoothly without the annoying vertical expansion behavior.

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.




