Do we need to create a error handler for each subroutine?
I copy a piece of code from SO as an example. The subroutine contains an error handler. Should one make an error handler for all Subs? Public Sub SubA() On Error Goto ProcError Connection.Open Open File for Writing SomePreciousResource.GrabIt ProcExit: Connection.Close Connection = Nothing Close File SomePreciousResource.Release Exit Sub ProcError: MsgBox Err.Description Resume ProcExit End Sub And by the way, how does the flow of the control inside a subroutine when the code executor encounter a Exit Sub , End Sub and Resume ? And when it encounters a label such as ProcError: during the