What does the "On Error Resume Next" statement do?

Carlos Blanco picture Carlos Blanco · Feb 4, 2010 · Viewed 208.8k times · Source

I came to some VBScript examples, and I saw the statement On Error Resume Next basically at the beginning of the script.

What does it do?

Answer

David picture David · Feb 4, 2010

It basically tells the program when you encounter an error just continue at the next line.