I had a VBA project in outlook with a few email macros – but after a PC crash they are all gone and all I see is a fresh ‘Project1’ when I hit Alt+F11
I’m not a VBA programmer, but had a collection of handy macros for email sorting etc. I would not like to have to code them again. Anyone know where the code files should be on the filesystem so that I might rescue the code?
This page has some really good insight on where Outlook keeps all its stuff. It suggests the following:
Now, the problem is that if you do not see them now, then you probably won’t be able to restore them from that location: there is probably either an ’empty’ project there or no project at all, but if that folder is being backed up, you might be able to restore it.
Moving forward, you might consider exporting your macros periodically in case this happens again, either through the VBA IDE (right-click and select Export File…) or using one of the tools mentioned in the linked article (like the Office Profile Wizard).