Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Define first row imported from XLS
Message
From
06/07/1999 10:56:00
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
06/07/1999 05:26:14
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00237650
Message ID:
00237767
Views:
12
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform