title: What is the cause of the "path/file access error" error
body: <p>The hard part of this error is that it does not occur all the time, but I think it is due to the userforms. The program works as it should most of the time, but eventually <code>Error 1</code> pops out. After <code>Error 1</code> pops out, when I attempt to double click any other userform module in the VBE, <code>Error 2</code> would pop out. I believe <code>Error 1</code> occurs because the program is unable to access the user forms as shown by <code>Error 2.</code> When we attempt to save the Excel file after the error occurs, the excel file would crash. I also noticed that the errors start after a certain amount of time (even when idling and alt+tabbed) after not doing anything for example, 20 minutes, then try to select a userform, it will error (note: I do not have any time activated code for sure). Similar problems were noted in these URLs but no solutions: <a href="http://www.vbforums.com/showthread.php?500971-RESOLVED-Path-File-Access-Error" rel="nofollow noreferrer">Similar problem</a> and <a href="http://www.vbaexpress.com/forum/archive/index.php/t-34443.html" rel="nofollow noreferrer">Similar problem 2</a>. After checking google, this problem have been plaguing people for more than 10 years already. Has no one ever figured out the cause for theirs? Any help would really be much appreciated for other people as well. Update: Errors occur in Excel 2007 (both computers at the office). I've never seen the error occur to my yet at home with my Excel 2016.</p>
  
  <p>The images of the errors and debugging are shown below:</p>
  
  <p>Error 1:</p>
  
  <p><a href="https://i.stack.imgur.com/Fx1FF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Fx1FF.png" alt="Error 1"></a></p>
  
  <p>Error 2:</p>
  
  <p><a href="https://i.stack.imgur.com/l3j71.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/l3j71.png" alt="Error 2"></a></p>
  
  <p>After Error 1 occurs and try to save the file crash:
  <a href="https://i.stack.imgur.com/bPV46.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bPV46.png" alt="Crash"></a></p>
  
  <p>Debug (all userforms will stop working):</p>
  
  <p><a href="https://i.stack.imgur.com/JDIN1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JDIN1.png" alt="Debug in VBE 2"></a></p>