Remove the 'On Error Resume Next' statement and see what happens