I have a vbscript that opens excel and does a whole load of stuff. If the excel or the VB script fail I want the vbscript to exit via an error handler.
in VBScript you need to check for a sepcific Error Number or check after where you think an error will occur to handle the error. This type of error handling is very good for handling ADO connection failures.
I'm sure that the label method will work though. Maybe I'm just confused with using it in VB all the tiome though.
James James Culshaw
jculshaw@active-data-solutions.co.uk
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.