logo
search
Printing Problems

Fix Blank Printed Embedded Excel Worksheets from OneDrive Iframes

Natalie TaylorNatalie Taylor Oct 23, 2026 868 views

Question details

Users are trying to print an intranet webpage containing an embedded Excel workbook, but the iframe content does not appear on the printout.

Fixing Blank Printed Embedded Excel Worksheets from OneDrive Iframes
Product
Microsoft Excel (OneDrive for Web)
Device & OS
not provided
Scenario
Printing an intranet webpage that embeds a OneDrive Excel workbook using an iframe.
Observed behavior
The embedded Excel worksheet displays correctly in the browser, but produces a blank iframe area when printing the page via Microsoft Edge or Google Chrome.
Before you start

Ensure your browser is updated to the latest version and verify if the Excel document requires a password or has restrictive permissions configured.

Solution 1Recommended

Check Embedded-View Protection Settings

The embedded Excel viewer applies its own protection policies, which may restrict printing even if the desktop application does not.

In-session protection settings in the embedded Excel view are often separate from the protection configured in the Excel desktop application. If the sheet is protected, it may block browser-level printing of the iframe.

1
Open the original file

Navigate to OneDrive and open the source Excel workbook directly in Excel for the Web.

2
Review workbook protection

Check if the embedded view is configured to protect the sheet or requires a password to unlock viewing or printing capabilities.

3
Test direct printing

Attempt to print the workbook directly from the Excel for Web interface. If it prints successfully here, the issue is strictly related to iframe rendering policies.

About iframe sizing tricks: Attempting to hide viewer controls by making the iframe wider than the screen is not recommended. It does not reliably prevent downloading or fix printing issues, as users can simply zoom out to access the controls.
Free Microsoft Office alternative

Try WPS Office for Seamless Spreadsheet Printing

Browser rendering issues and iframe limitations can severely interrupt your workflow. Switch to WPS Office for a robust, lightweight desktop experience that guarantees high compatibility with Excel files and flawless printing every time.

  1. 1. Download the software: Visit the official WPS Office website and download the free installation package.
  2. 2. Install WPS Office: Follow the simple on-screen prompts to install the suite on your computer.
  3. 3. Open and print flawlessly: Open your .xlsx files natively in WPS Spreadsheet and print your documents directly without browser-related blank pages.
Highly compatible with Microsoft Excel formats (.xlsx, .xls) ensuring perfect formatting.Stable desktop printing that bypasses browser-based iframe rendering errors.Free and lightweight, consuming minimal system resources on any device.Familiar interface makes the transition smooth without a steep learning curve.
microsoft office alternative - wps office

Frequently Asked Questions

Why does an embedded Excel iframe print blank in Chrome and Edge?

Browsers enforce strict cross-origin security policies (CORS) that often prevent them from rendering the contents of an iframe during the print process. Additionally, the embedded OneDrive Excel viewer may apply its own in-session protection settings that restrict browser-level printing.

Can I hide the download and print buttons on an embedded OneDrive Excel file?

While some try to hide these buttons by adjusting the iframe dimensions to push controls off-screen, this method is unreliable. Users can simply zoom out the webpage to bring the controls back into view. It is better to use actual permission settings in OneDrive.

Does Excel for the Web have different protection settings than the desktop app?

Yes, an embedded Excel view can utilize specific in-session protection settings that are entirely separate from the workbook protection configured within the desktop version of Excel. This can require users to authenticate or enter a password to view or print the sheet in an iframe.