On Error Goto 0 not resetting error trapping

前端 未结 1 424
不思量自难忘°
不思量自难忘° 2021-01-12 06:21

I was under the impression that On Error GoTo 0 reset error handling.

So why does On error resume next not seem to be registering in the

1条回答
  •  旧巷少年郎
    2021-01-12 06:38

    You need to use On Error GoTo -1 or Err.Clear to reset error trapping.

    Check this answer I posted a few months ago for a more detailed explanation.

    0 讨论(0)
提交回复
热议问题