Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a PDF document from an open Excel Doc. in VFP
Message
 
To
09/03/2005 11:10:52
Pierre Sauve
Micro-Fox Canada Inc.
Montréal, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00994029
Message ID:
00994032
Views:
26
This message has been marked as the solution to the initial question of the thread.
Do not know what Excel version are you using, but starting from version 9 (probably) there is an PrToFileName additon in PrintOUt method.

expression.PrintOut(From, To, Copies, Preview, ActivePrinter, PrintToFile, Collate, PrToFileName)

>Hi all,
> I need to open and modify an excel document programmaticaly from within VFP. This part works OK. But then , when I want to print this document using the adobe PDF writer , it always open a popup window for me to enter to file name. How can I automate this process.
> I am currently using VFP 8.1 and Adobe PDF Writer prof. ver 6.0.
>
>Thanks in advance.
>
>Pierre Sauvé
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform