79527498

Date: 2025-03-22 13:19:14
Score: 0.5
Natty:
Report link

On Error Resume Next

This will skip over any line that causes an error. While this will do what you want, it can cause all sorts of seaming weird situations like when a condition in an IF causes an exception, it will fall into your true part

On Error GoTo 0

This will restore "normal" error behaviour

https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/on-error-statement

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Rich