I have been having a lot of trouble lately with my Microsoft Access database files being corrupted and losing all of my code.
(a sometimes fix for this: http://www.anysitesupport.com/error-microsoft-access-has-stopped-working/)
The scary thing is even when I attempt to open the backups, they may work, but the code still disappears!
Is there a way to backup the VBA code from my projects in addition to the file itself?
From the code window (Ctrl + G is the shortcut), go to File, Export.
It saves as a .CLS file, but that can easily be viewed as a plain txt file.
APPLIES TO / KEY WORDS
How do I backup my VBA Code