VBA Error Dialog box

V

Vap

I have VBA code in an excel workbook that calls a DLL. Depending on
parameters passed, the DLL could have errors. When this happens the DLL
passes back an error code. However, when I try to access the error code (or
any other variable from the DLL), I get a error dialog box to show up. The
code will not continue until I click in the box. Is there any way to
eliminate this error dialog box from showing up?

As a corollary, I have noticed that error trapping does not work in the VBA
for DLL calls.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top