How to Share and Open Excel Macro-Enabled Files Safely
Question details
Users need to share and open a trusted, macro-enabled Excel file across different offices without it being blocked by security settings.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Colleagues in different offices are trying to share a trusted city-provided Excel file containing macros through corporate firewalls and email.
- Observed behavior
- The file is flagged by security systems, and Microsoft Office blocks the macros from running because the file originated from the internet.
Verify that the macro-enabled file comes from a completely trusted source, such as a verified colleague or official organization, before attempting to bypass any security warnings.
Unblock Macros by Removing the Mark of the Web
Use this method to allow macros to run in a trusted file downloaded from the internet or received via email.
By default, Microsoft Office blocks macros in files that originate from the internet to protect your computer from malware. To use the macros in a trusted file, you must manually unblock it.
Save the macro-enabled file (.xlsm) locally to your computer's hard drive, such as your Desktop or Documents folder, rather than opening it directly from your email client.
Right-click the saved Excel file and select "Properties" from the context menu.
Navigate to the "General" tab at the bottom of the Properties window. Check the "Unblock" box located next to the security warning, then click "Apply" and "OK".
Open the file in Excel. If prompted by a yellow security warning ribbon at the top of the sheet, click "Enable Content" to run the macros.

Share Macro-Enabled Files via Zipping or Network Drives
Use this approach if corporate firewalls or email clients automatically strip or block email attachments containing macros.
Try WPS Office for Seamless Spreadsheet Compatibility
If strict corporate security policies or complex macro settings in your current software are disrupting your workflow, WPS Office provides a lightweight, highly compatible alternative for handling your complex spreadsheets. It offers excellent support for standard Excel formats and provides a familiar interface, making your transition smooth and hassle-free.

Frequently Asked Questions
Why does Excel block macros from email attachments?
Microsoft Office automatically applies a 'Mark of the Web' (MotW) to files originating from external sources like emails or the internet. This is a default security measure designed to prevent potentially malicious code from executing automatically.
How can I safely send a macro-enabled workbook to a client?
To prevent email clients or firewalls from blocking your .xlsm file, compress it into a .zip archive before attaching it to an email, or share it via a secure cloud storage link like OneDrive, Google Drive, or SharePoint.
What should I do if the 'Unblock' checkbox is missing in file properties?
If the Unblock option is not visible, the file might already be unblocked, it might be stored on a FAT32 formatted drive (which does not support the Mark of the Web attribute), or your IT administrator may be controlling and restricting macro settings via Group Policy.
Are macro-enabled files (.xlsm) safe to open?
They are only safe if you completely trust the sender and expected to receive the file. Because macros can contain harmful viruses or malware, you should never enable macros on files received from unknown, unsolicited, or unverified sources.




