Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Define first row imported from XLS
Message
De
06/07/1999 10:56:00
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
06/07/1999 05:26:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00237650
Message ID:
00237767
Vues:
14
>Anybody a clue how to define to which rownumber the first record of an imported Excel sheet corresponds.
>If you have a sheet with no data on the first two rows the first record in the imported file will correspond to the third row of the sheet.
>The purpose to let the user select the range to import. Then using the Fox import command to tranform the file into a dbf and extract the range of selected data by determining the the selected range in the sheet and projecting it on the imported file.
Yves,
More explanation pls. Blindly clue commands :
with oExcel.ActiveSheet.Cells(nRow.nCol).CurrentRegion
lnColumns = .Columns.count
lnRows = .Rows.Count

oRange.Offset(nRow, nCol)
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