Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Excel 2003 giving annoying "Send/Don't Send" error when closing

I am accessing an instance of Excel 2003 through a Codegear C++ program I'm
writing. The code looks something like this (not that it really matters all
that much):

TExcelApplication* ea = new TExcelApplication(this);
ea-Connect();
ExcelWorkbookPtr ewbPtr = ea-get_ActiveWorkbook();

// do stuff...

ewbPtr.Release();
delete ea; ea = 0;

I can connect to Excel and write to it just fine. However, when I try to
disconnect from it and close/delete the Excel application instance, I get an
annoying Excel error message that says, "Excel has encountered a problem and
needs to close. We are sorry for the inconvenience." This isn't a problem; of
course Excel needs to close! I'm the one that closed it!!

What causes this superfluous error message to be displayed, and how do I
disable it?
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 hangs after using "Send to mail recipient (as attachment) " Rob Excel Discussion (Misc queries) 1 November 11th 09 10:16 PM
Using 2007 Office EXCEL or WORD "SEND" Results in General Mail Fai Jerry Link Excel Discussion (Misc queries) 1 December 29th 08 04:54 PM
Signature missing when "send to" "mail recipient" Jim Tortorelli Excel Discussion (Misc queries) 2 September 21st 07 05:19 PM
Excel,how to turn off "send to" function when highlighting cells? DNAISH Excel Discussion (Misc queries) 4 September 6th 06 04:58 PM
Can you set a "trigger" in excel to send an email? Debbi Excel Worksheet Functions 1 January 20th 06 03:25 PM


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

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

About Us

"It's about Microsoft Excel"