Fix Excel for the Web: Ctrl and Shift Keys Start Cell Editing in Firefox
Question details
Pressing the Ctrl or Shift keys in Excel for the Web initiates cell editing instead of acting as modifier keys for shortcuts or range selections.

- Product
- Excel for the Web
- Device & OS
- Ubuntu Linux
- Scenario
- Using standard keyboard shortcuts or attempting to select multiple cells in Excel for the Web.
- Observed behavior
- Instead of triggering the intended keyboard shortcut or selecting a range, pressing Ctrl or Shift immediately places the active cell into text editing mode.
Ensure your Excel workbook is fully synced to OneDrive before making browser changes or clearing your site data to avoid losing any recent edits.
Update Firefox and Clear Browser Data
Browser-specific keyboard handling bugs are often resolved in newer browser updates or by clearing corrupted site data.
Mozilla frequently releases patches for Firefox that address keyboard event handling. Updating your browser to the latest version and disabling interfering extensions can resolve false key triggers.
Open the Firefox menu, navigate to 'Help', and select 'About Firefox' to check for and install the latest updates for Ubuntu.
Go to Firefox Settings > Privacy & Security > Cookies and Site Data, and click 'Clear Data' to remove cached files that might be causing script errors in Excel for the Web.
Open a Private Window in Firefox (Ctrl + Shift + P) to load Excel for the Web without extensions. If the shortcut keys work normally, disable your browser extensions one by one to find the culprit.

Use an Alternative Web Browser
Bypass the Firefox-specific bug by temporarily switching to a chromium-based browser where the issue is not present.
Avoid Browser Bugs with WPS Office for Linux
Don't let browser-specific keyboard bugs slow you down. WPS Office offers a robust, lightweight desktop application for Linux that provides a stable spreadsheet environment without the limitations of web browsers.
- 1. Download the Linux Version: Visit the official WPS Office website and download the appropriate package (.deb or .rpm) for your Linux distribution.
- 2. Install WPS Office: Run the installer package on your Ubuntu machine to install WPS Spreadsheets, Writer, and Presentation.
- 3. Open Your Spreadsheets: Launch WPS Spreadsheets, open your .xlsx files, and enjoy reliable keyboard shortcut functionality.

Frequently Asked Questions
Why do Ctrl and Shift act differently in Firefox compared to Chrome for Excel Web?
Different web browsers use distinct rendering and JavaScript engines. Occasionally, a specific version of a browser on a specific operating system (like Firefox on Ubuntu) may misinterpret keyboard event signals, causing a modifier key to act as a standard input key.
Does this Excel for the Web bug affect Windows or macOS users?
Based on user reports, this specific issue where Ctrl and Shift start cell editing is isolated to certain versions of Firefox running on Ubuntu Linux distributions (like 22.04 and 24.04). Windows and macOS users generally do not experience this particular bug.
Can I remap the shortcuts in Excel for the Web to avoid this issue?
Excel for the Web does not currently offer a built-in feature to globally remap essential modifier keys like Ctrl or Shift. The most effective workaround is to update the browser, clear site data, or use a desktop application.
How can I select a range of cells if the Shift key keeps entering edit mode?
If the Shift key is unresponsive or triggers edit mode, you can select a range by clicking the first cell, holding down the left mouse button, and dragging the cursor to the last cell in your desired range.




