Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automatically close all Excel workbooks without saving
Message
 
To
12/01/2005 09:55:08
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00976227
Message ID:
00977046
Views:
38
Hi Cetin,

I will try this approach too.

Thanks,
David

>>How to automatically close all Excel opened workbooks without saving it?
>>
>>I would like to do this in the finally section in the try-catch block before quiting Excel so that it would get stuck with an "Do you want to save your workbook?" Dialog.
>>
>>Thanks!
>
>oExcel.DisplayAlerts = .f.
>oExcel.Quit
>
>Cetin
Previous
Reply
Map
View

Click here to load this message in the networking platform