Excel-DNA / Excel-DNA/ExcelDna

Detect current thead is in macro context

Open
#603 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.5k
Forks
292
Avg merge
20d 12h
Merged PRs (30d)
1

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.