Information générale
Catégorie:
COM/DCOM et OLE Automation
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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement