Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to print a given page in Word
Message
De
18/05/2007 14:05:49
 
 
À
18/05/2007 13:32:36
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01226792
Message ID:
01226890
Vues:
24
Thanks for the tip Marcia. I did try your approach and it gave me this call:
loWord.ActiveDocument.PrintOut (1, 0, 4, "", 1, 999, 0, 1, "3", 0, 0, 1, "", "", 0, 0, 0, 0, 0)
Unfortunatly, it gave me a type mismatch error. I then tried this:
loWord.ActiveDocument.PrintOut (1, 0, 4, "", 1, 999, 0, 1, "3")
But I still receive a type mismatch error. This code doesn't give me an error, but it still print the whole document:
loWord.ActiveDocument.PrintOut (, , 4, , , , , , "3")


This worked for me testing in Word 2003:
loWord.Application.PrintOut( 1, 0, 4, "", "3", "3", 0, 1, "3", 0, 0 )
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform