Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing File in Word
Message
De
26/06/2001 14:06:41
 
 
À
26/06/2001 13:55:39
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00523610
Message ID:
00523710
Vues:
10
Please disregard what I just said. I found out that what I need was the following:
loWord.ActiveDocument.PrintOut()
loWord.ActiveDocument.Close(wdDoNotSaveChanges)
It wasn't the PrintOut that was causing the problem with Work appearing instead it was the Close. I originally had loWord.Documents.Close(wdDoNotSaveChanges) and when I changed it to loWord.ActiveDocument.Close(wdDoNotSaveChanges) everything works as I want it to.

Thanks

Milt
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform