Fix Blank Printed Embedded Excel Worksheets from OneDrive Iframes
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.

- 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.
Ensure your browser is updated to the latest version and verify if the Excel document requires a password or has restrictive permissions configured.
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.
Navigate to OneDrive and open the source Excel workbook directly in Excel for the Web.
Check if the embedded view is configured to protect the sheet or requires a password to unlock viewing or printing capabilities.
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.
Print Directly from Excel for the Web
Bypass cross-origin iframe printing restrictions by opening the document in its native web app.
Contact Microsoft Support for Service-Side Changes
Recent service updates to the Excel viewer on Microsoft's end may intentionally block cross-origin iframe printing for security.
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. Download the software: Visit the official WPS Office website and download the free installation package.
- 2. Install WPS Office: Follow the simple on-screen prompts to install the suite on your computer.
- 3. Open and print flawlessly: Open your .xlsx files natively in WPS Spreadsheet and print your documents directly without browser-related blank pages.

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.




