|
-
Apr 11th, 2004, 12:41 AM
#1
Thread Starter
Junior Member
Disable Excel Save
Hi,
I have an application where I import some data from an excel file to a database, to assist the alogrithm and speed I use the sort method on the worksheet. Everything works fine but when the app calls excel.application.quit it displays a dialog asking user if the changes are to be saved (the result of the sort).
This app is to run as a service and hence can not require user input to run. I have tried setting the DisplayAlerts of the excel.application object to false and setting the workbook object saved property to true before the call to the excel application objects quit method with no luck, the dialog still displays. I am using Excel 2000 SP3 with VB 6. Any ideas on what else I can try to get rid of this dialog?
Thanks in advance.
MechEngCoder
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|