Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Define first row imported from XLS
Message
From
07/07/1999 06:00:43
 
 
To
06/07/1999 10:56:00
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00237650
Message ID:
00238168
Views:
18
>More explanation pls. Blindly clue commands :
>with oExcel.ActiveSheet.Cells(nRow.nCol).CurrentRegion
>lnColumns = .Columns.count
>lnRows = .Rows.Count
>
>oRange.Offset(nRow, nCol)
>Cetin

Cetin,

Thanks already the Currentregion is pointing into the right direction but isn't bulletproof.
Let's say you have an excel sheet with the first five rows who are blank.
Than the following rows contain the data to import.
Now using the IMPORT FROM XLS in Foxpro imports the excel sheet into a DBF with the same name. But what you see is that the first five rows of the excel sheet aren't in the imported DBF. The first record of the imported excel sheet is the data from the 6th row in the excel sheet.
Hope this clears out more what I am looking for. Hope you have any more ideas.

TIA.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform