How to Fix an XLSM File Not Opening in Microsoft 365
Question details
The user needs to open an XLSM (Excel Macro-Enabled Workbook) file in Microsoft 365 Enterprise, but the application is preventing it from launching due to device-specific configurations.

- Product
- Microsoft 365 Enterprise
- Device & OS
- Windows
- Scenario
- Attempting to open an XLSM file that contains macros on a specific device or Microsoft 365 installation where strict security settings or conflicts exist.
- Observed behavior
- The XLSM file fails to open on the user's Microsoft 365 installation, even though it may work correctly on other devices running the exact same software build.
Verify that the XLSM file originates from a trusted source, as macro-enabled workbooks can contain potentially harmful code. Test if other XLSM files open successfully on your device to determine if the problem is specific to one file or a broader application issue.
Open Excel in Safe Mode to Isolate Add-in Conflicts
Starting Excel in Safe Mode bypasses installed add-ins, helping you determine if a third-party extension is preventing the XLSM file from opening.
If the XLSM workbook opens flawlessly in Safe Mode, the issue is likely caused by an incompatible or corrupted Excel add-in. You will need to disable your add-ins one by one to find the culprit.
Press the Windows key + R on your keyboard to open the Run command window.
Type 'excel /safe' into the text box and press Enter or click OK.
Once Excel opens in Safe Mode, navigate to File > Open and select your XLSM file to see if it loads successfully.

Adjust Trust Center and Macro Security Settings
Microsoft 365 Enterprise may have strict Trust Center policies that block macro-enabled files from untrusted locations.
Unblock the File via Windows Properties
Windows may automatically block files downloaded from the internet or received from other devices to protect your computer.
Try WPS Office to Open XLSM Files Without Microsoft 365 Issues
If strict Microsoft 365 Enterprise security policies or persistent add-in conflicts are preventing you from accessing your work, try WPS Office. It is a highly compatible, free, and lightweight suite that handles macro-enabled workbooks effortlessly.
- 1. Download and install WPS Office: Visit the official WPS website, download the free installer, and complete the quick installation process.
- 2. Launch WPS Spreadsheet: Open WPS Office and select the 'Spreadsheet' module from the main dashboard.
- 3. Open your XLSM file: Click 'Open', browse to the location of your XLSM file, and open it to view your data seamlessly.

Frequently Asked Questions
Why does my XLSM file open on one computer but not another?
Even with identical Microsoft 365 builds, differences in installed add-ins, local Windows security settings, or specific Trust Center policies applied by enterprise IT can prevent an XLSM file from opening on a specific device.
What exactly is an XLSM file?
An XLSM file is a Microsoft Excel Macro-Enabled Workbook. It stores spreadsheet data alongside embedded macros programmed in VBA (Visual Basic for Applications), which are used to automate repetitive tasks.
How do I know if a specific add-in is blocking my file?
You can isolate the issue by launching Excel in Safe Mode (holding the Ctrl key while opening Excel). If the file opens successfully in Safe Mode, it confirms that an active add-in is causing the conflict. You can then disable them sequentially in the COM Add-ins menu to find the exact cause.




