Skip to content

Can Someone Show me an ExcelAsyncUtil.Observe example by C#? #457

Answered by govert
MasterBran asked this question in Q&A
Discussion options

You must be logged in to vote

I'm worried when I see ExcelApp inside the async method. I'm guessing this means you are using the Excel COM object model from the task which will run on a separate thread. You should never use the Excel COM object model form a worker thread. If you do, various problems can occur, including the Excel process not shutting down properly.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MasterBran
Comment options

Answer selected by MasterBran
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants