Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to start a new thread? Jack Sons[_2_] Excel Discussion (Misc queries) 3 June 1st 10 07:58 PM
Calling Excel methods from a different thread (COM add-in) [email protected] Excel Programming 1 September 11th 08 11:52 PM
Multi thread in Excel Radhakrishna k.v.n.r[_2_] Excel Worksheet Functions 3 October 29th 07 05:07 AM
Thread safety of Excel Hans Excel Programming 2 January 2nd 05 11:13 PM
Additional thread in VB in Excel Sverre Excel Programming 0 June 8th 04 01:13 PM


All times are GMT +1. The time now is 11:00 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"