Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using PrintOut Method Parameters in Excel
Message
 
À
02/07/2002 13:00:51
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00674576
Message ID:
00674866
Vues:
21
>I am using Foxpro 7 to create and print graphs in Excel 2002. It works great (actually I think it is rather incredible), but I need to print the graphs as PDFs to a file with the file name being automatically passed through the PrintOut method. I don't know how to pass the OutputFileName and PrintToFile as parameters. Any help with this or automatically sending Excel graphs as pdf files would be appreciated.

The syntax of PrintOut method is:
expression.PrintOut(From, To, Copies, Preview, ActivePrinter, PrintToFile, Collate, PrToFileName)

So it should be like this:
WorkSheet.PrintOut( , , , , "PDF_Printer", .T., , "OutputFileName")
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform