My Excel vbaProject (Personal.xlsb) has become corrupted - i cannot see any code in my modules ;-(

Jordan, Paul 0 Reputation points
2024-02-29T14:36:41.27+00:00

On logging on my Laptop this morning... I opened MS Excel as normal in order to run some vba Macro's which are attached to my ribbon/custom buttons..... none worked. My personal.xlsb project will open/expand and show the names of the mods/forms - but on double-clicking - the code set will not open/appear in the right hand side.... I really need all of this code back asap (my bad i havent backed up these modules in a txt file etc) wrote these in 2022 and have been using fine since - until today! Any help would be greatly appreciated!

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,836 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Jiajing Hua-MFST 9,345 Reputation points Microsoft Vendor
    2024-03-01T06:05:13.4933333+00:00

    Hi @Jordan, Paul

    Has Office installed any updates recently? If so, it is recommended to roll back to the previous version for testing.

    If you use other devices to open this file, or change the extension name to .xlsm, can you open the file normally and view the code?


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



  2. peiye zhu 165 Reputation points
    2024-03-01T07:28:27.7733333+00:00

    I really need all of this code back asap (my bad i havent backed up these modules in a txt file etc) wrote these in 2022 can you upload your .xlsm file?maybe I can try to dump those VBA codes by Python.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.