Results 1 to 3 of 3

Thread: Disable Excel Save

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2002
    Location
    Australia
    Posts
    30

    Angry 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

  2. #2

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Nov 2002
    Location
    Australia
    Posts
    30
    Worked, Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width