Excel-DNA/ExcelDna

Detect current thead is in macro context

savasozer opened this issue · 0 comments

Hi all,
Is there any way to detect current thread is in macro context eg. ExcelAsyncUtil.QueueAsMacro. I can save a thread static flag in QueueAsMacro delegate. But this way does not work when ribbon button click or called from VBA macro.

Thanks