How to Fix Embedded PDF in Excel Opening Briefly and Disappearing
Question details
The user is attempting to view a PDF file embedded within an Excel workbook, but the PDF application closes instantly after launching.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Attempting to open, view, or read an embedded PDF object from inside an Excel spreadsheet.
- Observed behavior
- The embedded PDF opens for a brief moment and then immediately disappears or closes automatically without displaying the content.
Before proceeding, verify that a default PDF reader (such as Adobe Acrobat, WPS PDF, or a web browser) is properly installed and functioning on your computer by opening a standalone PDF file.
Verify and Reset Default PDF Handler
Re-assigning the default PDF reader in your system settings ensures Excel hands off the embedded object to the correct application.
Excel relies on the operating system's default file associations to open embedded OLE objects. If the default PDF reader is missing, updating, or corrupted, the window will close immediately upon launching.
Press the Windows Key + I to open Windows Settings, then click on 'Apps'.
Navigate to 'Default apps' in the left sidebar and scroll down to click 'Choose default apps by file type'.
Locate the '.pdf' extension in the list. Click on the current default application and select a reliable PDF reader (like WPS PDF or Adobe Acrobat) to reset the association.
Close your Excel workbook entirely, reopen the file, and double-click the embedded PDF to test it.

Adjust Excel Trust Center Security Settings
Modify Excel's Protected View settings to ensure strict company security policies are not forcefully blocking external objects.
Test a Sanitized Copy on Another Device
Determine if the workbook itself is corrupted by removing sensitive data and testing the file in a different environment.
View Embedded PDFs Easily with WPS Office
If Excel's security restrictions or OLE errors continue to crash your embedded PDFs, try opening your workbook in WPS Office. WPS Spreadsheet features native support for Microsoft Excel formats and smoothly opens embedded objects using its own lightweight PDF viewer.
- 1. Download the Software: Download and install WPS Office for free from the official website.
- 2. Open the Spreadsheet: Right-click your problematic Excel workbook, select 'Open with', and choose 'WPS Office'.
- 3. Launch the PDF: Double-click the embedded PDF icon within the spreadsheet to open it instantly in WPS's built-in PDF reader.

Frequently Asked Questions
Why does an embedded PDF in Excel close immediately after opening?
This typically occurs because the default PDF application on your computer is unavailable, outdated, or conflicting with Excel's OLE (Object Linking and Embedding) processes. It can also be caused by Excel's Protected View settings blocking the external object from executing.
How do I embed a PDF into Excel properly to avoid errors?
To embed a PDF correctly, go to the 'Insert' tab in Excel, click 'Text', then choose 'Object'. Select the 'Create from File' tab, browse for your PDF, check 'Display as icon', and click 'OK'. Ensure your PDF is closed before attempting to embed it.
Can I recover an embedded PDF if the Excel file is corrupted?
Yes. If Excel cannot open the file normally, you can rename the '.xlsx' extension to '.zip'. Extract the zip file and navigate to the 'xl\embeddings' folder. You will find the embedded objects there, which you can extract and rename to '.pdf' to recover your data.




