File Cannot Open

How to Fix an XLSM File Not Opening in Microsoft 365

Aamir Naveed AkramAamir Naveed Akram Oct 26, 2026 872 views

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.

How to Fix an XLSM File Not Opening in Microsoft 365
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.
Before you start

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.

Solution 1Recommended

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.

1
Launch the Run dialog

Press the Windows key + R on your keyboard to open the Run command window.

2
Execute the Safe Mode command

Type 'excel /safe' into the text box and press Enter or click OK.

3
Open the problematic file

Once Excel opens in Safe Mode, navigate to File > Open and select your XLSM file to see if it loads successfully.

Open Excel in Safe Mode to Isolate Add-in Conflicts
Identify the Problematic Add-in: If the file works in Safe Mode, go to File > Options > Add-ins, manage COM Add-ins, and disable them one by one to isolate the specific extension causing the conflict.
Free Microsoft Office alternative

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. 1. Download and install WPS Office: Visit the official WPS website, download the free installer, and complete the quick installation process.
  2. 2. Launch WPS Spreadsheet: Open WPS Office and select the 'Spreadsheet' module from the main dashboard.
  3. 3. Open your XLSM file: Click 'Open', browse to the location of your XLSM file, and open it to view your data seamlessly.
Fully compatible with Microsoft Excel formats (.xlsx, .xlsm, .xls, .csv)Lightweight installation without restrictive enterprise security policiesFamiliar spreadsheet interface ensuring zero learning curveFree alternative to costly Microsoft 365 subscriptions
microsoft office alternative - wps office

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.