Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best way to move excel data to vfp
Message
De
09/05/2001 06:10:03
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00504674
Message ID:
00505175
Vues:
23
>Thanks for the imput. I think the only way to do this is use the IMPORT command and rewrite my excel workbook to have a separate data sheet to import from.
>
>Thanks again to all

Chuck,
You could just get the portion from Excel to a tab delimited string and parse it the way you like :
oExcel = createobject('Excel.Application')
With oExcel
  .Workbooks.Open(getFile('xls'))
  .ActiveWorkbook.ActiveSheet.Range("A2:C30").Copy
  lcData = _cliptext
  _Cliptext = ""
  .quit
Endwith
lcData is a representation of tab delimited file as string.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform