Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FoxPro and Excel
Message
De
17/03/2003 16:25:57
 
 
À
17/03/2003 12:56:41
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00766628
Message ID:
00766736
Vues:
25
>I have used FoxPro to generate an Excel spreadsheet before but now I want to use Excell data to feed into a FoxPro table from the Excel side can someone help me to get started?

From the Excel side, it can certainly be done.

You have several choices, depending on your needs and the degree of control you need.

  • run a VBA program that exports Excel data to DBF/CSV/XML, whatever output format, then a VFP program to get at it (not the best option)
  • create a VFP COM DLL that is called from Excel VBA that does most of he work
  • instance the full VFP engine as a COM Server (from VBA) using oVFP = CreateObject("VisualFoxPro.Application"). This is the most powerful option, but with more work, and the exact opposite of controlling Excel from VFP through automation.


HTH


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform