.xlsm — Macro-Enabled Excel Spreadsheet
Microsoft · 2007
An XLSM file is a spreadsheet document created with Microsoft Excel that includes macros.
Key Features
- Varies storage behavior for typical spreadsheet workflows
- Common MIME type: application/vnd.ms-excel.sheet.macroenabled.12
- Recognizable file signature: 50 4B 03 04
- Associated with Microsoft
Best For
- Structured calculations
- Business analysis
- Tabular collaboration
Less Ideal For
- Rich page-layout publishing
- Binary media delivery
- Executable packaging
Common Use Cases
- Calculations and formulas
- Reporting and dashboards
- Budgeting and tabular data
How to Open It
- On Windows, open the file with Microsoft Excel or LibreOffice Calc.
- On macOS, open the file with Microsoft Excel or LibreOffice Calc.
- If the file does not open, confirm that the extension really matches .xlsm and that the download or transfer completed without corruption.
What is a .xlsm file?
An XLSM file is a spreadsheet document created with Microsoft Excel that includes macros. Macros are small programs that can automate repetitive tasks within the spreadsheet, such as data manipulation or formatting. This format is primarily used for business and data analysis where complex operations need to be performed efficiently.
Programs That Open .xlsm Files
| Platform | Program | ||
|---|---|---|---|
| Windows | Microsoft Excel | Paid | Official |
| LibreOffice Calc | Free | ||
| OnlyOffice Spreadsheet Editor | Free | ||
| macOS | Microsoft Excel | Paid | Official |
| LibreOffice Calc | Free | ||
| Numbers | Free | Official |
Common Problems with .xlsm Files
Frequently Asked Questions
The primary difference is that XLSM files support and contain macros (VBA code), while XLSX files do not. Both are part of the Open XML format, but XLSM is specifically for macro-enabled workbooks.
Yes, some alternative spreadsheet programs like LibreOffice Calc and Google Sheets can often open XLSM files, but macro functionality may be limited or not fully supported.
It is generally not recommended to open XLSM files from unknown or untrusted sources, as macros can contain malicious code that can harm your computer or steal data.
Technical Details
XLSM files are based on the Open XML standard and are essentially ZIP archives containing XML files that define the spreadsheet's structure, content, and macros. The header typically begins with the ZIP file signature '50 4B 03 04'.