Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel not closing if I start Thread
Hello
I have written an C# Excel add on displays a dialog, and if the user clicks a particular button will start up a 2nd thread. This thread only runs for a few seconds. However once I run the 2nd thread and exit the worksehet, Excel itself stays around. Is there anything special I need to do to: 1] The .NET/COM Component? 2] The Module that the Thread calls/runs? 3] The function that the Excel Macro calls to display the dialog? 4] The Thread object? 5] The Excel Macro itself? 6] other/ |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel not closing if I start Thread
More Info:
The problem only appears to occur if in my thread I make reference to The Excel Object. The Excel Application object is a global variabe and NOT local to the Thread itself. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
how to start a new thread? | Excel Discussion (Misc queries) | |||
Calling Excel methods from a different thread (COM add-in) | Excel Programming | |||
Multi thread in Excel | Excel Worksheet Functions | |||
Thread safety of Excel | Excel Programming | |||
Additional thread in VB in Excel | Excel Programming |