Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel/Word Guru help needed
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00842135
Message ID:
00842418
Vues:
14
Hi Jeff,

I just ran into this early this morning when I was coding in a new SaveToWord() Method into my Report Engine control. I ended up looking on the MSDN for the OPTIONAL parameters to QUIT WORD. If you have already made all the changes and saved the DOC file than pass the QUIT Method a 0 for DON'T PROMPT FOR SAVE.

So code it like this:
oWord.Quit(0)
Hopefully that will solve your problem. Search for the wdSaveOptions parameter of the QUIT Method.



Word is suppose to be closed at that point. I'm pretty much at the end of my limited ablity to come up with work arounds. I've tried several other ways around this like removeing the data source from the work doc and having excel add it when it opens. Either way I get the same results. There is no way someone has not already run into this, unless it's the way I have it coded.

:(

TAW

Jeff
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform