Hello all,

I've been hunting round for a while on an answer to this but to no avail.
What i'm looking for is a non-shell equivalent to GetExitCodeProcess. I have a 3rd party add in which interacts with a database (Agresso Business World).
I've got some very simple code to call:

Please Login or Register  to view this content.
Sometimes this code fails:
sd.png


Is there any way that I can feedback to Excel if that or another error message is displayed?

Thanks