Question: can xlsx files contain macros?
Answer: When working with macros in Excel, keep in mind that the default file format—Excel Workbook (. xlsx)—does not support macros. If you record or write a macro in a workbook and try to save the workbook as an . xlsx file, Excel displays a message indicating that you can't include the macro.