[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"howto:xlsm:linux:en":3},{"resolvedFromAlias":4,"canonicalExt":5,"ext":5,"name":6,"category":7,"categoryName":8,"updatedAt":9,"os":10,"osLabel":11,"quickSolution":12,"stepByStep":13,"recommendedSoftware":16,"alternativeMethods":17,"commonIssues":18,"securityNote":40,"extensionPath":41,"extensionLabel":42,"breadcrumbs":43,"metaDescription":53},false,"xlsm","Excel Macro-Enabled Workbook (Office Open XML)","documents","Documents","2026-06-12T08:07:12.386Z","linux","Linux","To open .XLSM files on Linux, if you need the macros to run, open the file on a Windows or macOS machine with Microsoft Excel.",[14,15],"If you need the macros to run, open the file on a Windows or macOS machine with Microsoft Excel.","If you only need to view the spreadsheet data, try opening it in a compatible spreadsheet application; be aware that macro behavior may not be supported.",[],[],[19,26,33],{"title":20,"description":21,"steps":22},"Macros are blocked or won’t run","Because .xlsm files can contain macros, Excel may open the workbook with macros disabled and require user action before any macro code can run.",[23,24,25],"Confirm you trust the file’s source and that you actually need the macro to run.","In Excel, use the security prompt/notification to enable macros for the workbook if appropriate.","If you don’t need automation, keep macros disabled and use the workbook as a regular spreadsheet.",{"title":27,"description":28,"steps":29},"Saving removes macros when using the wrong format","If you save a macro-containing workbook to a non-macro-enabled format (such as a standard Office Open XML workbook), the macros may be lost or not preserved.",[30,31,32],"In Excel, use Save As and choose the macro-enabled workbook format (*.xlsm).","Reopen the saved file to confirm the macros are still present and functioning.","If you must share a macro-free copy, save a separate non-macro version and keep the original .xlsm as the source.",{"title":34,"description":35,"steps":36},"Features don’t transfer when exporting to other formats","Some Excel features, including macros and macro sheets, are preserved in .xlsm but may not transfer to other file formats.",[37,38,39],"Keep the master copy as .xlsm when you need macros preserved.","When exporting or converting, verify that the destination format supports what you need (especially macros).","Test the exported file in the target application before distributing it.",".xlsm files can contain macros; the “m” extension indicates macro-capable content, so treat files from unknown sources as potentially unsafe.","/file-extension/xlsm",".XLSM",[44,47,50],{"label":45,"to":46},"Home","/",{"label":48,"to":49},"How To","/file-extension",{"label":51,"to":52},"Open .XLSM on Linux","/how-to/open-xlsm-on-linux","Learn how to open .XLSM files on Linux with step-by-step instructions, recommended software, and troubleshooting tips."]