Quick answer: To run your own VBA macros in any workbook in desktop Excel, save them in the hidden Personal Macro Workbook (PERSONAL.XLSB). To install reusable functions or procedures as a separate component, create and enable an Excel add-in (.xlam). Neither option makes VBA run in Excel for the web. By default, a macro stored in an ordinary .xlsm workbook is available while that workbook is open. For repeated use… Read More »Make an Excel Macro Available in Every Workbook
