Printing Problems

Fix Excel for Web Not Printing Files with Commas in Name

Steve KSteve K Oct 19, 2026 868 views

Question details

Users are unable to print workbooks directly from Excel for the web if the file name contains a comma, triggering a server connection error.

Product
Excel for the Web
Device & OS
Windows 10, macOS
Scenario
Attempting to print an online spreadsheet directly from a web browser.
Observed behavior
Excel for the web fails to print the document and displays the error message: "We're not able to contact the server."
Before you start

Ensure you have permission to rename files in your OneDrive or SharePoint directory, and verify that your local printer is turned on and connected to your network.

Solution 1Recommended

Remove Commas from the File Name

The most effective workaround is to eliminate commas from the workbook's name before attempting to print it from the browser.

Due to a specific handling issue with web URLs and file paths in Excel for the web, special characters like commas can interrupt the server requests required to generate a print preview.

1
Locate the file

Navigate to the OneDrive or SharePoint web folder where your Excel workbook is currently saved.

2
Rename the workbook

Right-click the file and select "Rename". Delete any commas from the file name (for example, change "Q3_Budget, Final.xlsx" to "Q3_Budget_Final.xlsx").

3
Open and print

Click the newly renamed file to open it in Excel for the web. Go to File > Print and try printing the document again.

Remove Commas from the File Name
Immediate Resolution: Once the comma is removed, the server should successfully process the print preview and route the document to your printer.
Free Microsoft Office alternative

Try WPS Office for Reliable Desktop Printing

If web-based glitches like the comma file name error are disrupting your workflow, WPS Office offers a highly stable, free desktop alternative. You can easily download your Excel files and print them flawlessly from WPS Office, avoiding browser-specific server errors entirely.

Free and lightweight desktop applicationFully compatible with Microsoft Excel (.xlsx) formatsReliable local printing without web server errorsFamiliar user interface with no learning curve
microsoft office alternative - wps office

Frequently Asked Questions

Why does a comma in the filename cause a server error in Excel for the web?

In some web environments, special characters like commas in URLs or file paths can interrupt the backend server requests required to generate a print preview, resulting in the "We're not able to contact the server" error.

Will clearing my browser cache fix this printing issue?

While clearing the browser cache can resolve many temporary web glitches, it will not fix the comma-related printing bug in Excel for the web. The file must be renamed or printed from a desktop application.

Does this issue affect desktop versions of spreadsheet software?

No, this is specifically an issue with Excel for the web. Desktop applications, including WPS Office and the desktop version of Excel, can easily print files with commas in their names without any server errors.

Can I print the file if I share it with someone else?

Sharing the file will not fix the web printing issue. The recipient will experience the same server error when trying to print from their browser unless they download the file or you remove the comma from the file name first.