Behavior durring Error.

  • Thread starter Thread starter Tom
  • Start date Start date
T

Tom

Hello,

I want use this function (or similiar):

On Error GoTo myerrorpart

myerrorpart:
..
..
..

but I want set this in Auto_open() and using this in all macros which I will
use

Is it possible?

Thanks Tom
 
Tom,

Help for On Error (put the cursor on it in a statement and press F1) says:

Enables an error-handling routine and specifies the location of the routine
within a procedure; can also be used to disable an error-handling routine.

A procedure is a sub or function macro.
 
Back
Top