Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using PrintOut Method Parameters in Excel
Message
 
To
02/07/2002 13:00:51
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00674576
Message ID:
00674866
Views:
22
>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")
Previous
Reply
Map
View

Click here to load this message in the networking platform