Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing form Excel
Message
De
16/08/1997 06:26:05
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordanie
 
 
À
14/08/1997 22:37:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00044845
Message ID:
00045102
Vues:
23
>I am using OLE Automation to feed a rather large 32 column crosstab
>result set to Excel. I am using Excel because of its print to fit and auto
>format capabilities.
>
>How can I automatically get the auto format and print to fit options of
>Excel set from VFP 5.0? I'd simply like to set up the spreadsheet
>print it and then release Excel and return control to VFP.

Check the ole examples provided with VFP...

Basically, what you can do is create a macro in Excel, edit and see how it is written in VB.(what functions etc. are used..)

Then through createobject create a excel object in VFP...

and write the related lines to print it..
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform