Forum Discussion

Michael1105's avatar
Michael1105
Copper Contributor
Mar 06, 2024

Issue with saving Macros Personal Macro Workbook in the startup folder must stay open for recording

Hi, I'm hoping one of the Excel gurus can assist me with this issue I am suddenly having with Macros.

Suddenly all of the macros I had saved and have been using have dissappeared. I had these Macros set up in a tab and would just click the macro for the job I was running and it would format my document accordingly.  As everyone knows, this saves a significant amount of time.  Why this happened, I don't know.  The only option now is to rebuild them.  

This is the process I'm doing to rebuild them:

  1. Developer tab
    1. Record Macro
      1. In Record Macro Box
        1. Name Macro
        2. Store macro in:  Personal Macro Workbook
        3. Click: OK
  2. Error Message Returned: "Personal Macro Workbook in the startup folder must stay open for recording."

I don't know how to get this Personal Macro Workbook to open.  I thought that this workbook would automatically open at the start up of Excel.

This glitch has caused me so much time and energy that it has actually put me behind in my work.

I've checked the path and the "Personal.xlsb" file is in the XLSTART folder.

 

 

6 Replies

  • JKPieterse's avatar
    JKPieterse
    Silver Contributor

    Not even if you click that little plus next to VBProject (Personal.xlsb) in the Project explorer pane? Also expand the Modules node if it's there.

    • karenleila's avatar
      karenleila
      Copper Contributor

      I swear, sometimes it's the simplest/smallest things! Thank you!

  • JKPieterse's avatar
    JKPieterse
    Silver Contributor

    Michael1105 

    Looks like your personal macro workbook has a corruption of some sort. Here are some steps to fix it:

    1. Close all Excel instances
    2. Check Task manager, details tab to see if there is no Excel.exe
    3. If there is, end its task
    4. Move the existing personal.xlsb from the XLSTART folder to somewhere else
    5. Rename the moved file to something like personal_old.xlsb
    6. Open Excel and record a macro to your personal macro workbook
    7. Close Excel and choose to save the personal macro workbook
    8. Open Excel again and open personal_old.xlsb
    9. Open the VBA editor and copy all modules (you can drag them) from your personal_old.xlsm to your new personal.xlsb
    10. Close Excel and save your Personal macro workbook
    • karenleila's avatar
      karenleila
      Copper Contributor

      JKPieterse​ if you still happen to monitor... I got stuck at step 8/9, I don't see any modules to drag? Been trying to fix this for weeks, no idea what happened, I used to record Macros no problem, and one day it stopped working. Any help/feedback is welcome!

       

    • Erni76's avatar
      Erni76
      Copper Contributor

      My problem is that when I reopen Excel on step 8 the newly created PERSONAL.XLSB file is not openned. Excel keeps igniring it even it is exist in the startup folder. How I can fix that?

Resources