Code
What is a .xlsm file?
A .xlsm file is a Microsoft Excel Macro-Enabled (version 2007). This is a code, script or executable format.
How to open a .xlsm file
- VS Code opens and highlights nearly every text-based code format.
- Never run a script you didn't write or trust.
The registry records this extension against Microsoft Excel Macro-Enabled, so software from that family is the most likely match.
How to convert a .xlsm file
- Text-based code needs no conversion — just save with a different extension if a tool insists.
MIME type
When a .xlsm file travels over the web, servers label it with this MIME type:
application/vnd.ms-excel.sheet.macroEnabled.12The technical record
For archivists, developers and the merely curious: these are the PRONOM registry entries for .xlsm.
| Format name | Version | MIME type | PUID |
|---|---|---|---|
| Microsoft Excel Macro-Enabled | 2007 | application/vnd.ms-excel.sheet.macroEnabled.12 | fmt/445 |