I have a simple configuration section in which I set the array size,
and therefore want to be able to handle the error:Subscript out of
range:.

As I have "On Error Resume Next" set, which I require I want to be
able to capture this error and write it out to my logfile.

How do I do this?

Thanks in advance,

Craig.

Re: How Do I Handle Specific Errors by Daryl

Daryl
Fri Aug 13 14:31:32 CDT 2004

after some statement where that error could arrise just do
logfile.writeline err.number or err.description
that will write the error out
"Craig B." <craig.bender@practiceone.com> wrote in message
news:6a45b902.0408131125.4493fb93@posting.google.com...
> I have a simple configuration section in which I set the array size,
> and therefore want to be able to handle the error:Subscript out of
> range:.
>
> As I have "On Error Resume Next" set, which I require I want to be
> able to capture this error and write it out to my logfile.
>
> How do I do this?
>
> Thanks in advance,
>
> Craig.