VBA Error “Bubble Up”

前端 未结 5 2211
不思量自难忘°
不思量自难忘° 2020-12-11 06:37

I haven\'t read much about it, but the author at the link below recommends that I don\'t use \"bubble up\" to centralize error handling in VBA.

Excel Programming Wee

5条回答
  •  独厮守ぢ
    2020-12-11 07:24

    I see at least one reason in his explanation: because doing so deprives you from the benefit of Resume (next).
    Plus you won't know in which module the error happened.

提交回复
热议问题