What are the drawbacks of using `On Error Resume Next` without proper error checking?

Question

Grade: Education Subject: Support
What are the drawbacks of using `On Error Resume Next` without proper error checking?
Asked by:
85 Viewed 85 Answers

Answer (85)

Best Answer
(301)
Using `On Error Resume Next` without checking `Err.Number` can mask critical errors, leading to incorrect results or unexpected behavior. You might not realize that errors are occurring, making debugging difficult. It's generally considered bad practice to use it without accompanying error checking.