At One Place

.xlsm files

.xlsm file
Excel Macro-Enabled Workbook
An Excel workbook that contains VBA macros — and therefore executable code.

What opens a .xlsm file

Windows
Microsoft Excel, LibreOffice Calc (macros may not run), WPS Office
macOS
Microsoft Excel, LibreOffice Calc (macros may not run)
Linux
LibreOffice Calc (macros may not run), OnlyOffice

What a .xlsm file is

XLSM is XLSX with a macro project inside. Excel opens it with macros disabled and a yellow "Enable Content" bar, and that bar is the whole point: enabling macros in a file from an unknown sender runs their code on your machine. Legitimate uses are everywhere in finance and reporting; LibreOffice Calc opens the sheets fine but will not run VBA reliably.

Converting it

A .xlsm file is commonly converted to .xlsx, .csv, .pdf or .ods. It is a binary format, so a text editor will show unreadable characters rather than its contents.

Details

Extension
.xlsm
Full name
Excel Macro-Enabled Workbook
Category
Documents
MIME type
application/vnd.ms-excel.sheet.macroEnabled.12
Created by
Microsoft
Format
Binary

Common questions

How do I open a .xlsm file?
On Windows use Microsoft Excel; on macOS use Microsoft Excel; on Linux use LibreOffice Calc (macros may not run). An Excel workbook that contains VBA macros — and therefore executable code.
What is a .xlsm file?
Excel Macro-Enabled Workbook. XLSM is XLSX with a macro project inside. Excel opens it with macros disabled and a yellow "Enable Content" bar, and that bar is the whole point: enabling macros in a file from an unknown sender runs their code on your machine.
Can I convert a .xlsm file?
Yes. It is usually converted to .xlsx, .csv, .pdf or .ods, either by exporting from one of the programs listed above or with a format converter.

Related pages

Sources

  1. Media Types Registry — IANA
  2. Official vendor product documentation — At One Place

How these figures are compiled and checked