Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding out programmatically how many rows in excel.
Message
From
27/01/2003 15:02:26
Jorge Haro
Independent Consultant
Juarez, Mexico
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00745897
Message ID:
00745944
Views:
17
I use the UsedRange collection as in
oExcel.WorkBooks(1).Worksheets(1).UsedRange.Rows
or
oExcel.WorkBooks(1).Worksheets(1).UsedRange.Rows + oExcel.WorkBooks(1).Worksheets(1).UsedRange.Row - 1
since there might be some blank rows at the top.

>I am programmatically saving an excel file to dbf format. I do not know how many rows will be in the spreadsheet does anyone know how I can figure this out?
>
>Thanks
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform