Security Policy Errors

Why Excel Shows a Warning When Opening XLSM Files

Camila MilosovichCamila Milosovich Nov 22, 2026 868 views

Question details

Understand why Excel warns about an XLSM workbook and how to open or share it when its source is trusted.

Why Excel Shows a Warning When Opening XLSM Files
Product
Microsoft Excel
Device & OS
Windows
Scenario
A user opens a downloaded macro-enabled workbook or sends XLSM files to colleagues.
Observed behavior
Windows may mark the workbook as originating from the internet, causing Excel to display a security warning or block its macros.
Before you start

Confirm that the workbook and its macros come from a trusted source before changing any security settings. If the file is shared at work, check your organization's guidance on trusted locations and macro policies.

Solution 1Recommended

Unblock a trusted XLSM file in Windows

Use this method when a trusted downloaded workbook has an Unblock option in its Windows properties.

1
Open file properties

Close the workbook, then right-click the XLSM file in File Explorer and select Properties.

2
Unblock the file

On the General tab, select Unblock if it appears, then click Apply and OK.

3
Reopen the workbook

Open the XLSM file in Excel again and check the security message. Follow any remaining prompts only if you trust the file and its macros.

Unblock a trusted XLSM file in Windows
Other policies may still apply: Unblocking removes the file's internet-origin mark, but Excel macro settings or organizational policies may still prevent macros from running.
Free Microsoft Office alternative

Open Spreadsheets with WPS Office

WPS Office is a free, lightweight alternative with a familiar interface and Microsoft Office format compatibility for a smoother move between office suites. It does not change Windows or Excel security policies.

Open and review spreadsheets in a familiar interfaceCompatible with common Microsoft Excel formats, including XLSX and XLSMLightweight suite for everyday document and spreadsheet workFree to download and easy to use
QA img-9

Frequently Asked Questions

Why does Excel warn me about a downloaded XLSM file?

Windows may mark the file as originating from the internet. Because XLSM workbooks can contain macros, Excel may display a security warning or block the macros.

What if I don't see Unblock in the file properties?

Right-click the file in File Explorer and select Properties, then check the General tab. If Unblock is absent, the file may not have an internet-origin mark, or another security setting may be responsible. Ask IT if the warning continues.

Can I prevent colleagues from having to unblock every file?

Ask your IT team about sharing verified workbooks through an approved trusted location. A shared folder alone does not guarantee that Excel will treat its files as trusted.

Is it safe to unblock any XLSM workbook?

No. Unblock a workbook only when you trust its source and the macros it contains. If you are unsure, contact the sender or your IT team before opening or enabling active content.

Why are macros still blocked after I unblock the file?

Excel Trust Center settings or an organizational policy may still block macros. Check the warning in Excel and contact your IT team rather than changing managed security settings.