In the past, I've had the odd db 'lose' its VBA code. I followed the list of known causes I found online, relating to db corruption, and it hasn't happened for a while.
Today, however, I opened a db and found that the VBA windows were all blank. Forms, reports, modules, all showed no code...