Hi,
It can be misleading. On Error goto 0 sounds like a reset. Here's your example with a resume statement with a label to resume at. Resume resets the Error and picks up where you tell it to ie: Next (next line after the error) or at a label (in this case 'pickup:')
Sub e()
On Error GoTo BadName
MaxNames = Range(?MaxNamesX?)
BadName:
MsgBox ("First error: " & Err.Number & " " & Err.Description)
'This line...
Resume pickup
pickup:
On Error GoTo CantFindName
MaxNames = Range(?MaxNameCntX?)
CantFindName:
MsgBox ("Second error: " & Err.Number & " " & Err.Description)
End Sub
Cheers,
dr