Why Excel Shows a Warning When Opening XLSM Files
Question details
Understand why Excel warns about an XLSM workbook and how to open or share it when its source is trusted.

- 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.
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.
Unblock a trusted XLSM file in Windows
Use this method when a trusted downloaded workbook has an Unblock option in its Windows properties.
Close the workbook, then right-click the XLSM file in File Explorer and select Properties.
On the General tab, select Unblock if it appears, then click Apply and OK.
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.

Share workbooks through an approved trusted location
For colleagues who receive many workbooks, ask IT about an approved location instead of having each recipient unblock individual files.
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.

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.




