Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 40
Default Add-in crashing Excel

Hi everyone,

I posted a question yesterday on this topic and got some useful replies
(thanks :-)). I have done a bit more digging and found the cause of the crash.

My add-in contains a reference to the solver and it seems that solver.xla
needs an open workbook before it opens - if none is open it will cause Excel
to crash.

So, it seems the order of things is this:

1. Excel opens
2. Excel starts up my add-in
3. My add-in opens a blank workbook
4. My add-in opens solver.xla

If I don't do step 3 I get the crash.

So, it seems that my add-in passes control to the solver.xla. After
solver.xla has opened (and presumably checked for an open workbook) does
control pass back to my add-in? And if it does, can I catch it and get it to
close the workbook it opened in step 3?

I guess what I'm after is some sort of AfterOpeningReference declaration.
Any ideas?

TIA

big t
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
Excel Crashing [email protected] Excel Discussion (Misc queries) 1 December 10th 07 02:23 PM
Crashing of Excel FASB Excel Discussion (Misc queries) 1 June 5th 07 04:32 PM
Help--Excel keeps crashing [email protected] Excel Discussion (Misc queries) 1 September 7th 05 10:22 PM
Excel VBA crashing Martin Wheeler Excel Programming 4 February 15th 04 09:05 PM
excel keeps crashing kickyr Excel Programming 4 December 4th 03 09:58 PM


All times are GMT +1. The time now is 01:04 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"