What happens if you remove this line
On Error Resume Next
Also, does the workbook actually open?