How to Edit Macros in Excel's Visual Basic Editor
Click the Save button on the Quick Access toolbar to save the changes to the modified macro if it’s stored as part of the current workbook.
If you modified a global macro saved as part of the Personal Macro Workbook, you have to exit Excel in order to save your changes to the macro. When you click the Excel program window’s Close button or press Alt+FX or Alt+F4, Excel displays an alert dialog box asking whether you want to save the changes you made to the personal.xlsb file.
Click the Yes button to save your macro modifications as you close down Excel.