Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
To spreadsheets
Message
De
25/04/1999 12:59:11
 
 
À
25/04/1999 12:42:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00212033
Message ID:
00212036
Vues:
32
>I ned to run lots of output from 5.0 into excel sheets but the copy type xls command produces a very ruddy unformatted sheet which has to be worked on...(col headings, sizing, numerical formats etc).
>
>Is there a tool to do this? Is it a task for some VBA?
>
>TIA
>Chris

You can pretty easily automate Excel to do this. You could even create a routine to do it automatically for any cursor. Use AFIELDS to get row 1 headings, then SCAN through oyur table and plug the values into the sheet. Record a macro in Excel and look at the VBA code to get an idea of how to start. There are also a sample or two inthe solutions app that comes with VFP.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform