XLSM File Documentation

Files with the XLSM extension are spreadsheet files with a macro function , generated using Microsoft Excel.

The XLSM format has macros enabled, i.e. scripts that automate the process of repeating specific tasks, and is closely related to the Open XML format. Files containing the XLSM extension store cell data contained in organized rows and columns.

A file with the XLSM extension is most often associated with Microsoft Excel, but it is possible to open and edit XLSM files using applications such as WordPerfect Office or Corel Quattro Pro.


Feature Value
File Extension .xlsm
File Type Microsoft Excel Macro-Enabled Workbook
MIME Type application/vnd.ms-excel.sheet.macroEnabled.12
Developer Microsoft Corporation
Primary Software Microsoft Excel
Binary or Text Binary
XML-based Yes
Zip-archived Yes
Macro Support Yes
Programming Language for Macros VBA (Visual Basic for Applications)
Standard Directory Structure _rels, docProps, xl
Compatible Software Microsoft Excel, LibreOffice Calc, OpenOffice Calc
Security Risk Medium to High (due to macros)
Supported Elements Data, Formulas, Charts, Macros
Text Encoding UTF-8
Maximum Rows 1,048,576
Maximum Columns 16,384
File Size Limit 2 GB
Formula Limitations 8192 characters per formula
Cell Limitations 32,767 characters per cell
Sheet Limit Limited by available memory
Encryption Support Yes
Auto-save Capability Yes