2 min readfrom Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community

How to restore disappeared VBA Macros from Personal XLSB

Our take

If you've encountered issues with your Personal XLSB file after a glitchy restart, you're not alone. Many users experience similar frustrations when their macros seem to vanish unexpectedly. In this guide, we’ll explore practical steps to help you restore your missing VBA macros, ensuring that you can regain control of your spreadsheet tools without having to rewrite them from scratch.

Hi everyone, long story short, my computer was acting glitchy today so I restarted it. After, any workbook I tried to open would say it was "corrupt" and wouldn't open, or that it needed to be repaired. For the latter, it would say "Excel was able to open the file by repairing or removing unreadable content" which was usually sheets I had deleted from the file (so no real content missing?).

The big issue is my VBA macros are missing. I had saved all of them in my Personal XLSB. My Personal XLSB was also impacted by the issue above. It was after I repaired and saved the file that I noticed all the Macro modules are missing from the VBA editor (Alt+F11) and the macro dialog (F8). Macros are enabled in trust center, and there is no file history on the Personal XLSB. Of course I didn't back these up... :/

Interestingly, after repairing the Personal XLSB my other workbooks seem to open and run fine. No more popups stating the files are corrupt or need repair.

Does anyone know if it's possible to get the macros back? I am definitely no expert in excel or VBA so just hoping I don't have to rewrite them all...

submitted by /u/Chimestia
[link] [comments]

Read on the original site

Open the publisher's page for the full experience

View original article

Related Articles

Tagged with

#Excel alternatives for data analysis#Excel compatibility#Excel alternatives#rows.com#natural language processing for spreadsheets#big data management in spreadsheets#generative AI for data analysis#google sheets#real-time data collaboration#real-time collaboration#big data performance#VBA#macros#Personal XLSB#Excel#workbook#corrupt#repair#unreadable content#macro modules