VBA modules have been saved with errors
<p>I have a database with tables that are linked to a different database in a network drive. (The other database is on a different machine, and a network drive on my machine is mapped to it.)</p>

<p>While I was running some VBA code the connection to the network drive was broken, and I got an error message.
When I tried accessing any <strong>local</strong> tables in my database, or when I tried closing Access I got error messages. 
I closed access through the task manager, and now when I open it I get the following message:</p>

<blockquote>
  <p>The VBA modules in this database appear to have been saved with errors. Access can recover the modules, but you should backup the database first...</p>
</blockquote>

<p>I backed up and then clicked OK, but the modules have been entirely wiped out.
In the backup I cannot access the modules, I just get that message again.</p>

<p>Please help! Sadly I do not have a backup from before, and I need the modules. Is there a way to recover at least the modules? Even in text file?</p>

<p>I tried importing the modules into a different database, but I get the same error message.</p>

<p>EDIT: When I try to recover I get the following message:</p>

<blockquote>
  <p>Cannot open database ''. It may not be a database your application recognizes, or your file may be corrupt.</p>
</blockquote>

<p>What does this mean? It seems like Access is trying to access an empty string. </p>