How to Display a Local PDF in an Access Web Browser Control
Question details
The user wants to embed and display local PDF files natively inside a Microsoft Access form, but the standard Web Browser Control is failing to display them automatically.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- Attempting to view local PDF documents inline through an Access form using a stored file path or hyperlink.
- Observed behavior
- The standard legacy Web Browser Control remains blank and may force the local PDF file to open in an external application, such as Adobe Acrobat, instead of rendering it directly on the form.
Ensure that the file path stored in your database points to a valid, accessible local PDF file and that your system has a default PDF viewer installed.
Format File Path as a Valid URL
Use proper file URI formatting to help the legacy Web Browser Control locate and handle the local PDF document correctly.
In standalone versions like Access 2021, only the legacy Web Browser Control is available. It relies on older Internet Explorer components, meaning it might still trigger an external PDF viewer depending on your system's default handler.
Right-click your Access form in the navigation pane and select 'Design View'.
Select the text box or field that stores your PDF file path. Ensure it contains the full absolute path to the document.
If using VBA or an expression to pass the path to the Web Browser Control, format the local path as a URL (e.g., convert 'C:\Folder\File.pdf' to 'file:///C:/Folder/File.pdf').
Set the Control Source of the Web Browser Control to this newly formatted file URL and switch back to Form View to test.

Switch to the Modern Edge Browser Control
For full inline rendering without external pop-ups, upgrade to the Edge Browser Control, provided your environment supports it.
Manage and View Your PDFs Seamlessly with WPS Office
If you are encountering limitations with Microsoft Access and the standard Office suite when managing or viewing documents, consider WPS Office. It provides a lightweight, comprehensive, and highly compatible alternative for handling PDFs, Word documents, Excel spreadsheets, and presentations—without requiring a Microsoft 365 subscription.
- 1. Download the Software: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Install WPS Office: Run the installer and follow the quick setup wizard to install the suite on your computer.
- 3. Open and Edit PDFs: Launch WPS PDF to instantly open your local PDF files, view them smoothly, and utilize advanced editing tools.

Frequently Asked Questions
Why does my PDF open in Adobe Acrobat instead of inside my Access form?
The standard Web Browser Control in standalone versions like Access 2021 relies on legacy Internet Explorer components. These outdated components often fail to render modern PDF files inline, triggering your system's default PDF handler (like Adobe Acrobat) to open the file externally instead.
Is the new Edge Browser Control available in Access 2021?
No. The modern Edge Browser Control, which natively supports displaying local PDFs, is currently available only to Microsoft 365 subscribers with supported builds. Users with standalone Access 2021 only have access to the legacy standard Web Browser Control.
How should a local file path be formatted for a browser control?
To maximize compatibility, format your local file paths using the file URI scheme. Instead of a traditional Windows path like 'C:\Documents\report.pdf', structure it as 'file:///C:/Documents/report.pdf'. This helps the underlying browser engine recognize it as a valid local web resource.




