Fix Excel for the Web Click Events Failing When Worksheet Zoom Changes
Question details
The user needs Office.js worksheet single-click events to fire reliably when the Excel for the web worksheet zoom changes from 100% to another zoom level.

- Product
- Excel for the web with Office.js add-ins
- Device & OS
- not provided
- Scenario
- The user is developing or running an Office.js worksheet add-in and needs single-click events to work consistently at different worksheet zoom levels.
- Observed behavior
- The single-click event works at 100% zoom but fails at other zoom levels in Excel for the web.
Before troubleshooting, open the add-in in a supported browser and note the exact zoom levels where the click event fails. Open the browser developer console to check for Office.js or script errors while changing the worksheet zoom.
Test the Add-in Across Supported Browsers and Zoom Levels
Use this first to isolate whether the click failure is browser-specific or zoom-specific before changing add-in code.
Excel for the web may map click coordinates differently when the worksheet zoom changes, and behavior can vary by browser. This test narrows the cause and gives a reproducible report for Microsoft support or forums.
Launch the add-in in Microsoft Edge or Chrome, load the workbook, and confirm the single-click event works at 100% zoom.
Use the zoom control in the bottom-right corner of Excel for the web to test 75%, 90%, 110%, and 125%, clicking the same cell each time.
Open the same workbook in a different supported browser and repeat the same zoom and click tests to compare behavior.
Record the browser version, Office.js version, zoom percentage, and whether the event fires, then use this information when reporting the issue.

Update Office.js and Check Microsoft Office.js Known Issues
Use this when the add-in is already deployed and you need to make sure the failure is not caused by an outdated library or a documented web limitation.
Use Desktop Excel as a Fallback for Reliable Click Detection
Use this if the web limitation persists and reliable click detection is essential for your add-in.
Use WPS Spreadsheets as a Free, Lightweight Excel Alternative
When Excel for the web has add-in or click-event limitations, WPS Office offers a free, lightweight alternative with strong Excel format compatibility, a familiar ribbon interface, and easy migration for everyday spreadsheet work.
- 1. Download WPS Office: Go to the official WPS Office website and click Download WPS Office Free for your device.
- 2. Install and open WPS Spreadsheets: Install WPS Office, launch WPS Spreadsheets, and sign in if needed.
- 3. Open your Excel workbook: Click Menu > Open and select the .xlsx workbook to continue working in a familiar spreadsheet interface.

Frequently Asked Questions
Why does the Excel for the web click event fail only when the worksheet zoom changes?
Excel for the web can calculate event coordinates differently at non-100% zoom levels, so the mapping between the click position and the worksheet cell may be incorrect. This can affect Office.js add-ins that rely on coordinate-based click detection.
Which browsers should I test Office.js add-ins in?
Test in the supported browsers for Microsoft 365 web apps, typically the latest versions of Microsoft Edge, Google Chrome, Firefox, and Safari. Compare behavior at 100% and other zoom levels to identify browser-specific failures.
How do I update an Office.js add-in to the latest library?
Update the Office.js script reference in your add-in code or package to the latest production CDN version, redeploy the add-in, and retest. Then check Microsoft's Office.js release notes for any related fixes.
Does WPS Office run Microsoft Office.js web add-ins?
WPS Office does not use Office.js web add-ins, but it can open and edit .xlsx files and handle everyday spreadsheet tasks with a familiar ribbon interface. For add-in code that depends on Office.js, keep the web add-in running in Microsoft Excel.




