> I have several templates written in VBa in Word 97.
>
[quoted text clipped - 25 lines]
> (replace the stopspambot bit with some
> version of my name)
Sorry if I wasn't specific enough!
There are other placers where do I pick up the error code and then act
on it, or would if the damned program would process it correctly.
As I said, all my On Error ... statements worked in 97 and 200 and XP
- it is in Word 2003 that they seem to be being ignored.
This is driving me up the wall.
Geoff
>From the limited example you supplied it doesn't look like you have any error
>handling code after your Resume Next (except for disabling error handling
[quoted text clipped - 38 lines]
>> (replace the stopspambot bit with some
>> version of my name)
Geoff Edwards
Leeds, UK
e-mail: stopspambot@sixwillow.com
(replace the stopspambot bit with some
version of my name)
Geoff Edwards - 16 Jun 2005 21:09 GMT
Oh I do feel stupid now.
In ALL versions of Vba there is a setting under Tools|Options|General
to opt to "Break on all errors" or "Break on unhandled errors".
I thought it was just a setting for design time testing - I didnt
realise that "Break on all errors" would be saved as part of the
template.
Although you would never guess it from the name of the setting, it
causes Vba to break on all errors.
I apologise for having wasted your time.
Geoff
>Sorry if I wasn't specific enough!
>
[quoted text clipped - 57 lines]
>(replace the stopspambot bit with some
>version of my name)
Geoff Edwards
Leeds, UK
e-mail: stopspambot@sixwillow.com
(replace the stopspambot bit with some
version of my name)