Heiko Sunev
Posts: 13
Joined: 2008-11-30
|
Is there a way to abort a hanging or long-running XLL function?
Either after a pre-defined time has elapsed (say 10,000ms) or after the impatient Excel user hits the <ESC> key in his Excel frontend?
The C API offers xlAbort (Microsoft classifies it as not thread-safe, though). Does ADX offer a similar handle for vb2005/2008 developers to pull the brake on a long-running XLL calculation?
thx
H |
|
Eugene Astafiev
Guest
|
Hello Heiko,
Sure. Add-in Express doesn't limit programmers.
You can use the CallWorksheetFunction function of the Module static property with the AddinExpress.MSO.ADXExcelWorkseetFunction.Abort parameter. |
|