Code for Break on Unhandled Errors
am 01.11.2007 02:13:04 von DM McGowan IIDoes anyone have any code for setting the VBA option to "Break on Unhandled
Errors" (Access 2000). Thanks!
Neil
Does anyone have any code for setting the VBA option to "Break on Unhandled
Errors" (Access 2000). Thanks!
Neil
see the SetOption Method topic in VBA Help.
hth
"Neil"
news:AK9Wi.13090$4V6.3308@newssvr14.news.prodigy.net...
> Does anyone have any code for setting the VBA option to "Break on
Unhandled
> Errors" (Access 2000). Thanks!
>
> Neil
>
>
"Neil"
news:AK9Wi.13090$4V6.3308@newssvr14.news.prodigy.net...
> Does anyone have any code for setting the VBA option to "Break on
> Unhandled Errors" (Access 2000). Thanks!
>
> Neil
Application.SetOption "Error Trapping", 2
0 = Break on all errors
1 = Break in class module
2 = Break on unhandled errors
Well, I feel pretty dumb. Forgot about that. Thanks!
"tina"
news:U1bWi.309989$ax1.88823@bgtnsc05-news.ops.worldnet.att.n et...
> see the SetOption Method topic in VBA Help.
>
> hth
>
>
> "Neil"
> news:AK9Wi.13090$4V6.3308@newssvr14.news.prodigy.net...
>> Does anyone have any code for setting the VBA option to "Break on
> Unhandled
>> Errors" (Access 2000). Thanks!
>>
>> Neil
>>
>>
>
>
Thanks, Stuart!
"Stuart McCall"
news:fgbj0g$du$1$8302bc10@news.demon.co.uk...
> "Neil"
> news:AK9Wi.13090$4V6.3308@newssvr14.news.prodigy.net...
>> Does anyone have any code for setting the VBA option to "Break on
>> Unhandled Errors" (Access 2000). Thanks!
>>
>> Neil
>
> Application.SetOption "Error Trapping", 2
>
> 0 = Break on all errors
> 1 = Break in class module
> 2 = Break on unhandled errors
>
>
>
you're welcome :)
"Neil"
news:UddWi.3323$%Y6.972@nlpi061.nbdc.sbc.com...
> Well, I feel pretty dumb. Forgot about that. Thanks!
>
> "tina"
> news:U1bWi.309989$ax1.88823@bgtnsc05-news.ops.worldnet.att.n et...
> > see the SetOption Method topic in VBA Help.
> >
> > hth
> >
> >
> > "Neil"
> > news:AK9Wi.13090$4V6.3308@newssvr14.news.prodigy.net...
> >> Does anyone have any code for setting the VBA option to "Break on
> > Unhandled
> >> Errors" (Access 2000). Thanks!
> >>
> >> Neil
> >>
> >>
> >
> >
>
>