XLSX format strips the macro code. If you don't want that, save as an XLS or XLSM.