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?
The code is much longer, but the error (per the debugger) highlights as such:
Print #intFreeFile, _
" *XXXXXXXXX * * * Error in code 'main_ProcessBringFwd' " & Err & ": " & _
Error(Err)
intFreeFile
at this time the error raises? Is the file already open by another application? Etc. – David Zemens Jul 31 '14 at 16:55