Catching errors
Catching errors
(OP)
Hi! I need help!
How to catch an error in Visual Basic for Word2000? Is there any constructions like Try...Catch...Finally?
P.S. I need to find out whether the file exist.
How to catch an error in Visual Basic for Word2000? Is there any constructions like Try...Catch...Finally?
P.S. I need to find out whether the file exist.





RE: Catching errors
A couple of options, under the Tools->Options pull-down, under the General tab, in the section marked Error Trapping, you can set it to Break on All Errors, or you can create your own error trapping with an:
CODE
...
..
errHandler:
..
.
HTH
Todd
RE: Catching errors
Cheers,
Joerd
Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.
RE: Catching errors
Thank you so much! I have done it! And it works (: