How to Fix Office Online Viewer Cannot Open PPTM Files
Question details
Users cannot open PPTM files in Office Online Viewer and receive a 'File not found' error.

- Product
- Office Online Viewer
- Device & OS
- not provided
- Scenario
- Attempting to view a macro-enabled PowerPoint presentation (.pptm) using the Office Online Viewer via a URL.
- Observed behavior
- The online viewer fails to load the presentation and returns a 'File not found' error message, despite the file being accessible from its original URL.
Determine if the macros in your presentation are absolutely necessary for the viewer. If they are not, saving a macro-free copy is the quickest workaround to allow online viewing.
Convert the PPTM File to PPTX Format
Since Office Online Viewer does not support macro-enabled files, converting the presentation to a standard .pptx format will allow it to open online.
Office Online Viewer explicitly blocks macro-enabled formats like .pptm, .potm, and .ppsm due to the potential security risks associated with VBA (Visual Basic for Applications) macros. Removing these macros changes the file architecture and allows web compatibility.
Open the original .pptm file using a desktop presentation application like Microsoft PowerPoint or WPS Presentation.
Click on 'File' in the top-left corner of the application interface, select 'Save As', and choose a destination folder on your computer.
In the 'Save as type' dropdown menu, select 'PowerPoint Presentation (*.pptx)' and click 'Save'.
Upload the newly created .pptx file to your online storage server or cloud drive, and open it again with Office Online Viewer.
Use a Desktop Presentation Application
If your presentation relies heavily on macros for interactivity or automation, you must view it using a desktop application instead of the web viewer.
Easily Open Macro-Enabled Presentations with WPS Office
Since Office Online Viewer restricts macro-enabled formats, using a robust desktop client is necessary. WPS Office is a highly compatible, lightweight, and free alternative to Microsoft Office that handles complex presentations flawlessly.
- 1. Download and Install WPS Office: Visit the official WPS website, download the free desktop client, and follow the standard installation instructions.
- 2. Open WPS Presentation: Launch the WPS Office application and select 'Presentation' from the main dashboard.
- 3. Open your PPTM File: Drag and drop your .pptm file directly into the workspace, or use 'Menu' > 'Open' to browse and open your macro-enabled presentation seamlessly.

Frequently Asked Questions
Why does Office Online Viewer say 'File not found' instead of 'Format not supported'?
The 'File not found' error is a generic fallback message triggered when the Office Online Viewer fails to process the file's architecture. This happens automatically when it encounters blocked VBA macros in .pptm, .potm, or .ppsm files, even if the file exists at the correct URL.
Can I enable macros in Office Online Viewer?
No, macros cannot be enabled or run in Office Online Viewer. Web browsers lack the native environment required to safely execute VBA (Visual Basic for Applications) code, which is why Microsoft intentionally restricts this feature online.
What is the difference between PPTX and PPTM formats?
Both are modern XML-based PowerPoint formats. However, PPTM files specifically allow the execution of embedded VBA macros for automation and complex interactions, whereas PPTX files are strictly macro-free for standard security purposes.
Is there a way to bypass the online viewer restriction without converting my file?
The only way to view the presentation without removing the macros is to abandon the web-based viewer. You must download the file and open it locally using a macro-compatible desktop application like Microsoft PowerPoint or WPS Presentation.




