Information générale
Catégorie:
COM/DCOM et OLE Automation
Thanks Randy! How could I iterate through all the workbooks to close them all without saving changes?
>>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!
>
>If you pass .F. as the first parameter of Close() as in Workbook.Close(.F.) you should avoid the dialog. Same is true for Word documents.
>
>-- Randy
Précédent
Suivant
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