Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Last row in Excel Spreadsheet
Message
 
 
To
09/11/2009 11:40:10
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01433861
Message ID:
01433885
Views:
57
>I adding data to a spreadsheet and have to scan through the rows. What's the best way to determine the number of rows in an excel spreadsheet.
>
>Thanks,
>Larry
*-- Find total # of columns and rows
				lnCols = .UsedRange.columns.count
				lnFinalCols = m.lnCols
				lnRows = .UsedRange.rows.count
				lnFinalRows = m.lnRows
from Re: Saveas: do not keep incomp. functions, do not keep chang Thread #1243150 Message #1243237
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform