Code
What is a .xlm file?
A .xlm file is a Microsoft Excel Macro (version 4.0). This is a code, script or executable format. Confusingly, this extension has been used by 3 different formats over the years — they're all listed below.
This extension has been used by more than one format
3 different formats have claimed .xlm over the years, so two files with the same extension aren't necessarily the same kind of thing.
How to open a .xlm 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, Microsoft Excel Macro, Microsoft Excel Macro, so software from that family is the most likely match.
How to convert a .xlm file
- Text-based code needs no conversion — just save with a different extension if a tool insists.
MIME type
When a .xlm file travels over the web, servers label it with this MIME type:
application/vnd.ms-excelThe technical record
For archivists, developers and the merely curious: these are the PRONOM registry entries for .xlm.
| Format name | Version | MIME type | PUID |
|---|---|---|---|
| Microsoft Excel Macro | 4.0 | application/vnd.ms-excel | x-fmt/123 |
| Microsoft Excel Macro | 2.x | application/vnd.ms-excel | fmt/555 |
| Microsoft Excel Macro | 3.0 | application/vnd.ms-excel | fmt/556 |