Hello

I'm using a TExcelApplication component to load and show excel data.

My code sniplet:

      FExcelApplication.Quit;
      FExcelApplication.Disconnect;
(this will also take care of the workbooks and worksheets)
      

will work and free the excel.exe application (and within my taskmanager).

However, if a change has been made to a worksheet, I want to auto save these 
changes (without prompting) before closin;:I use the code  (one workbook):

FExcelApplication.Workbooks[1].Close(True, EmptyParam, EmptyParam, 0);

However, saving my changes will prevent my exel.exe application to be 
removed... and therfore It could still be seen within my taskmanager.

How could I save my changes to a workbook without user confirmation AND 
properly close excel.exe?

Regards

andries

 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/i7folB/TM
--------------------------------------------------------------------~-> 

-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to