What happens if you remove this?
On Error Resume Next
PS Can you add code tags when posting code?