DllExport icon indicating copy to clipboard operation
DllExport copied to clipboard

Can I throw an exception?

Open Zeki-Gursoy opened this issue 1 year ago • 1 comments

Yes, as I mentioned in the title, I want to throw an exception. However, the application crashes.

Is there a way to throw an exception without the application crashing? (Application's name is EXCEL.EXE)

Best regards,

Zeki-Gursoy avatar Oct 04 '24 14:10 Zeki-Gursoy

Hello, The crash is possible because the exception (CLR) is not actually caught in your excel VBA script (correct me what is used in your case).

Here I have already suggested something about the handling,

  • #85

3F avatar Oct 05 '24 12:10 3F