Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Quit Word without Display Alerts
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00768067
Message ID:
00768085
Vues:
25
>Hi, I am trying to quit a word document without saving but keep getting the
>message do you want to save the file. Does anyone know how to get around this?
>I have tried to turn off the alerts like this
>
>oWord.Application.DisplayAlerts = .F.
>
>or this
>
>oWord.Application.DisplayAlerts = 0
>
>but when I get to this part
>
>oWord.Quit()
>
>Word still aske me whether or not I want to save the file?
>
>Thanks

Steve,

I think that if any changes occur between setting DisplayAlerts to .F. and issuing the Quit statement, will cause this. If this is the case,
then
oWord.DisplayAlerts = .F.
oWord.Quit()
should work. I know it does in my case.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform