S
Steve Wylie
How do you go about trapping errors in Word VBA? I looked for an ONERROR
command but could not find it.
I have a macro that only works in a table. When you play it, it is possible
the cursor will move outside the table in which case I get a standard VBA
error. I want to trap this so that the macro just stops running without
coming up with an error.
Steve Wylie
PS I wanted to post this to vba.general as well, but I am using Microsoft's
new NG interface on their support website and it does not permit cross
posting any more. That's progress for you - give Microsoft enough time and
they'll screw any good thing up...
command but could not find it.
I have a macro that only works in a table. When you play it, it is possible
the cursor will move outside the table in which case I get a standard VBA
error. I want to trap this so that the macro just stops running without
coming up with an error.
Steve Wylie
PS I wanted to post this to vba.general as well, but I am using Microsoft's
new NG interface on their support website and it does not permit cross
posting any more. That's progress for you - give Microsoft enough time and
they'll screw any good thing up...