Andrew Douglas Pitonyak wrote: > > Bart Friederichs wrote: >> Andrew Douglas Pitonyak wrote: >> >>> Do you check in an error handler? I assume that you are NOT using >>> something like "on error resume next", and also, that you have not >>> used a resume command explicitly. >>> >>> >>> >> >> Here is my code: >> >> Sub Main >> >> [... snip..] >> >> On Error Goto ErrorHandler >> >> [.. snip, where an error might occur ..] >> >> Exit Sub >> >> ErrorHandler: >> MsgBox "Error " & Err & " at processing sheet (line " & Erl & "): " & >> Error$ >> >> End Sub >> > Does not look like you reset the error... Do you know what error does > occur? Yes. The Error$ is set correctly, as is the Erl.
Bart -- Groeten, Bart Friederichs TBWB --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
