Comment out the
On Error GoTo err_handler
and F8 to step through the code to see where the error occurs.