No, you should have
On Error GoTo Err_Handler ( or some suitably named label)
Option Explicit makes sure you have declared ALL your variables.
The number of times I have copied code from here and other sites, that would not even compile is beyond a joke.
Only a very few times would you have On Error Resume Next, generally when you will expect an error.