VBA code missing from Excel Workbook

Anonymous
2021-09-03T12:07:26+00:00

Hi Microsoft community,

I have been working on a macro-enabled workbook. Today when opening the sheet, I get this error for each module:

After pressing "ok" for each "missing module" I get this error:

When accessing Visual Basic I can se the modules in the project explorer, but they are all empty?

I have selected the "BiomassSetup" module in the picture below:

If the file can't be fixed, is it then possible to get my code back?

Hope that you guys can help. It's approximately a weeks coding I'm missing...

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
{count} votes

6 answers

Sort by: Most helpful
  1. Anonymous
    2021-09-06T07:13:50+00:00

    Thank you very much! Wasn't aware of the term: event. Thank you again!

    0 comments No comments