Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grabbing a range in excel and putting it into a cursor i
Message
De
01/06/2007 15:02:28
Don Hagan
Federal Reserve Bank of Kansas City
Kansas City, Missouri, États-Unis
 
 
À
01/06/2007 09:37:07
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Vista
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01229777
Message ID:
01229888
Vues:
8
When I highlight the range and copy it to clipboard, it is in tab delimited format. In VFP with a dbf created and selected,

=strtofile(_cliptext, 'somefile.txt')
append from somefile.txt delimited with tab

will populate the dbf with the excel data. If you need an array, use VFP's command to create it.

Hope this helps.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform