Share via

Excel Macros not Visible in Macro List

Anonymous
2024-01-17T17:24:30+00:00

I had a problem with Excel 365 suddenly removing my macros from the macro list under Developer. The macros were still there, and can be run manually via the VBA editor. I found a simple fix. I just went to the editor, displayed the module with the macros and then selected all (ctrl-A), cut everything (ctrl-X) and then pasted them back (ctrl-V). And voila, the macros reappeared in the macro list and after saving, seemed to remain there when I reopened the file. I have no idea what happened, but this is a simple fix.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

6 answers

Sort by: Most helpful
  1. Andreas Killer 144.1K Reputation points Volunteer Moderator
    2024-01-18T15:10:14+00:00

    The reason is that the module is re-compiled and therefore the list of macros is refreshed.

    Next time add a line at the top, delete the line immediately, in the menu click Debug \ Compile.

    That should have the same effect.

    Andreas.

    Was this answer helpful?

    6 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-05-29T16:52:41+00:00

    Same thing happened to me today. Cut and Paste worked. Thank you!!

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2024-04-13T07:51:02+00:00

    Great discovery, this worked for me too, thank you very much PaulN-SF

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2024-04-08T09:27:30+00:00

    Oh my god, thank you for this answer! This issue drove me nuts!

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2024-03-19T11:05:55+00:00

    This happened to me today. Very weird! Your fix worked great, thanks.

    I've noticed this a couple of time recently, except the other time, the file was corrupted and I had to rebuild the whole thing.

    Was this answer helpful?

    0 comments No comments