title: Run time error 52 Bad file name or number
body: <p>I am attempting to run vba code to perform a number of operations on a folder of excel files. This code had been written by someone else no longer with my company, but the VBA script worked when last run. Now, when I attempt to run it, I keep getting run time error 52 ("Bad file name or number"). Any suggestions?</p>
  
  <p>The code is much longer, but the error (per the debugger) highlights as such: </p>
  
  <p><code>Print #intFreeFile, _
      " *XXXXXXXXX  * * * Error in code 'main_ProcessBringFwd' " &amp; Err &amp; ": " &amp; _
      Error(Err)</code></p>