Excel – How to use Excel 2010 Personal Macro Workbook

microsoft excelmicrosoft-excel-2010vba

I want all of the macros that I've written to always be available when I'm using Microsoft Excel 2010. How can I do this?

Best Answer

In excel 2010, the personal macro workbook is located at C:\Users\UserName\AppData\Roaming\Microsoft\Excel\XLSTART\PERSONAL.xlsb. The best way to create this is to record a macro into your personal macro workbook. You do this by:

  1. Enabling the developer tab by going to File - Options - Customize Ribbon and checking developer on the right side of the screen
    enter image description here
  2. Go to the developer tab and click on record macro
    enter image description here
  3. Store Macro In your Personal Macro Workbook
    enter image description here
  4. Stop Recording macro
    enter image description here
  5. When you close out of excel or the workbook, it will prompt you Do you want to save the changes you made to PERSONAL.xlsb select save
    enter image description here

    You will now have a personal macro workbook that is visible anytime you open excel. If you have macros stored in other workbooks you can transfer them to the personal macro workbook by moving the modules within Visual Basic in excel. Additionally, if you have a workbook with a lot of macros, you can navigate to the file location and rename that workbook to PERSONAL and save it as .xlsb

Related Question