Microsoft Excel just knows the location where this file lives in your system and looks for it automatically on every launch.Īside from macros, the Personal Macro Workbook can store your custom functions (user-defined functions) written in VBA.Ī fly in the ointment is that the Excel Personal Macro Workbook does not exist by default. A great thing about the personal workbook is that it's hidden by default, so you won't ever notice it opening in the backend. Any macros stored in this file are available to you whenever you start Excel. Personal Macro Workbook is a special file named Personal.xlsb in Excel 2007 – 2019 or Personal.xls in earlier versions.
Instead, store your popular VBA codes in the Personal Macro Workbook. But what if you want to use it in other files too? Recreating the same macro for each and every workbook does not sound like a good idea. Normally, when you write a macro in Excel, it can only be accessed from that specific workbook. The tutorial shows how to create and use the Personal.xlsb file to make Excel macro available in all workbooks.