Jamal Mazrui wrote:
Regarding the "On Error Resume Next" statement, I think a closing "On
Error GoTo 0" is not actually needed if if the statement is intended to
apply to the remainder of a Function or Sub.
That's true. This is from the MSDN documentation for VBScript:
An *On Error Resume Next *statement becomes inactive when another
procedure is called, so you should execute an *On Error Resume Next*
statement in each called routine if you want inline error handling
within that routine. When a procedure is exited, the error-handling
capability reverts to whatever error-handling was in place before
entering the exited procedure.