A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
If you want to save macro in your file, you need to choose xlsm file format. Xlsx format cannot save macro in it?
Is there any notice when you closed your workbook?
Is there any error message when you open your file?
Could you share that file to check on it? Sometimes, it will show all the macros when you open that file on another machine.
For sharing file, you may upload it to OneDrive or any other cloud drive and then post the link here.
*Please make sure you have removed any sensitive or private information in the sample file before uploading.